Abdur Rahman bin Safwan (may Allah be pleased with him) said: I asked Umar bin al-Khattab (may Allah be pleased with him): What did the Messenger of Allah (peace and blessings be upon him) do when he entered the Ka'bah? He said: "He (peace and blessings be upon him) prayed two rak'ahs."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3787
Hadith Gradingمحدثین:صحيح لغيره
Hadith Takhrij«صحيح لغيره۔ اخرجه احمد 3/ 430/ 15635»