Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:4002Ibrāhīm b. Mūsá > Hishām > Maʿmar > al-Zuhrī > Ismāʿīl > Akhī > Sulaymān > Muḥammad b. Abū ʿAtīq > Ibn Shihāb > ʿUbaydullāh b. ʿAbdullāh b. ʿUtbah b. Masʿūd > Ibn ʿAbbās from my father

Abu Talha, a companion of Messenger of Allah ﷺ and one of those who fought at Badr together with Allah's Apostle told me that Messenger of Allah ﷺ said. "Angels do not enter a house in which there is a dog or a picture" He meant the images of creatures that have souls.  

البخاري:٤٠٠٢حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى أَخْبَرَنَا هِشَامٌ عَنْ مَعْمَرٍ عَنِ الزُّهْرِيِّ حَدَّثَنَا إِسْمَاعِيلُ قَالَ حَدَّثَنِي أَخِي عَنْ سُلَيْمَانَ عَنْ مُحَمَّدِ بْنِ أَبِي عَتِيقٍ عَنِ ابْنِ شِهَابٍ عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ بْنِ مَسْعُودٍ أَنَّ ابْنَ عَبَّاسٍ ؓ قَالَ

أَخْبَرَنِي أَبُو طَلْحَةَ ؓ صَاحِبُ رَسُولِ اللَّهِ ﷺ وَكَانَ قَدْ شَهِدَ بَدْرًا مَعَ رَسُولِ اللَّهِ ﷺ أَنَّهُ قَالَ لاَ تَدْخُلُ الْمَلاَئِكَةُ بَيْتًا فِيهِ كَلْبٌ وَلاَ صُورَةٌ يُرِيدُ التَّمَاثِيلَ الَّتِي فِيهَا الأَرْوَاحُ