Sahih al-Bukhari 4288
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
قَاتَلَهُمُ اللَّهُ لَقَدْ عَلِمُوا مَا اسْتَقْسَمَا بِهَا قَطُّ "
Narrated Ibn `Abbas:
When Allah's Messenger (ﷺ) arrived in Mecca, he refused to enter the Ka`ba while there were idols in it. So he ordered that they be taken out. The pictures of the (Prophets) Abraham and Ishmael, holding arrows of divination in their hands, were carried out. The Prophet (ﷺ) said, "May Allah ruin them (i.e. the infidels) for they knew very well that they (i.e. Abraham and Ishmael) never drew lots by these (divination arrows). Then the Prophet (ﷺ) entered the Ka`ba and said. "Allahu Akbar" in all its directions and came out and not offer any prayer therein.
Full reference and source
Sahih al-Bukhari 4288 In-book : Book 64, Hadith 321 USC-MSA web (English) : Vol. 5, Book 59, Hadith 584 (deprecated)
View source on Sunnah.com (opens in a new tab)