Musnad Ahmad 3093
Grading supplied with this record: Its isnad is saheeh, 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.
It was narrated from Ibn ‘Abbas (رضي الله عنه) that
When the Messenger of Allah (ﷺ) came to Makkah, he refused to enter the House when the idols were in it. He ordered that they be taken out and a picture was brought out of Ibraheem and Isma'eel (عليه السلام) with divining arrows in their hands. The Messenger of Allah (ﷺ) said: "May Allah curse them! They knew that they never cast arrows." Then he entered the House and said takbeer in all the parts of the House, and he came out and did not pray inside the House.
Full reference and source
Musnad Ahmad 3093 Arabic/English book : Book 25, Hadith 3093
View source on Sunnah.com (opens in a new tab)