Sahih al-Bukhari 4002
Ibrahim bin Musa (Razi) narrated to us that Hisham (bin Yusuf) told us. He reported from Ma'mar (bin Rashid), and he from Zuhri. (Imam Bukhari (rh) said:) Isma'il (bin Abi Uwais) also narrated to us, he said: My brother (Abdul Hamid) told me. He reported from Sulaiman (bin Bilal), Sulaiman from Muhammad bin Abi Atiq, he from Ibn Shihab, and Ibn Shihab from Ubaidullah bin Abdullah bin Utbah bin Mas'ud, that Hazrat Ibn Abbas (ra) said: Hazrat Abu Talhah (ra), the Companion of the Messenger of Allah (saw), told me, and he took part in the battle of Badr with the Messenger of Allah (saw). He (saw) said: “The angels do not enter a house in which there is a dog, nor a place in which there is an image.” He meant images of things that have life.
AI-translated by Islam-Today