Kaaba After Ibrahim عليه السلام
I think the paper mentioned in the discussion is the most complete analysis. I was also confused untill i came across that paper and some videos on utube.
May be @Irfan76 sb or @UmerQureshi sb or @faisalharoon can give more detailed account