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.
أَخْبَرَنِي أَبُو طَلْحَةَ ؓ صَاحِبُ رَسُولِ اللَّهِ ﷺ وَكَانَ قَدْ شَهِدَ بَدْرًا مَعَ رَسُولِ اللَّهِ ﷺ أَنَّهُ قَالَ لاَ تَدْخُلُ الْمَلاَئِكَةُ بَيْتًا فِيهِ كَلْبٌ وَلاَ صُورَةٌ يُرِيدُ التَّمَاثِيلَ الَّتِي فِيهَا الأَرْوَاحُ