Sahih al-Bukhari 1601
Book 25: Hajj (Pilgrimage) · Hadith 87
Hadith text
Narrated Ibn `Abbas:When Allah's Messenger (ﷺ) came to Mecca, he refused to enter the Ka`ba with idols in it. He ordered (idols to be taken out). So they were taken out. The people took out the pictures of Abraham and Ishmael holding Azlams in their hands. Allah's Messenger (ﷺ) said, "May Allah curse these people. By Allah, both Abraham and Ishmael never did the game of chance with Azlams." Then he entered the Ka`ba and said Takbir at its corners but did not offer the prayer in it
Ibn Abbas (رضی اللہ عنہما) bataate hain: Jab Allah ke Rasool Mecca aaye, unhone Ka'ba mein daakhil hone se inkaar kiya kyunke usme buth the. Aap ne unhe bahar nikaalne ka hukum diya. To woh nikaale gaye. Logon ne Ibrahim aur Ismail ki tasveerein bhi nikaali jinke haathon mein Azlams (fal nikaalne ke teer) the. Allah ke Rasool ne farmaya: "Allah ki laanat ho in logon par. Allah ki qasam, na Ibrahim ne na Ismail ne kabhi Azlams se fal nikaale." Phir Aap Ka'ba mein daakhil hue aur uske konon par Takbir kahi, magar usme namaz nahi padhi.
Sahih al-Bukhari 1601 · Book 25, Hadith 87