حَدَّثَنِي خَلِيفَةُ، حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ الأَنْصَارِيُّ، حَدَّثَنَا سَعِيدٌ، عَنْ قَتَادَةَ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ مَاتَ أَبُو زَيْدٍ وَلَمْ يَتْرُكْ عَقِبًا، وَكَانَ بَدْرِيًّا‏.‏
Translation
Narrated Ibn `Abbas

Abu Talha, a companion of Allah's Messenger (ﷺ) and one of those who fought at Badr together with Allah's Apostle told me that Allah's Messenger (ﷺ) 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.