The Prophet ﷺ entered the Kaʿba and found in it the pictures of (Prophet) Abraham and Mary. On that he said' "What is the matter with them ( i.e. Quraish)? They have already heard that angels do not enter a house in which there are pictures; yet this is the picture of Abraham. And why is he depicted as practicing divination by arrows?" (Using translation from Bukhārī 3351)
أَنَّ رَسُولَ اللهِ ﷺ حِينَ دَخَلَ الْبَيْتَ فَوَجَدَ فِيهِ صُورَةَ إِبْرَاهِيمَ وَمَرْيَمَ فَقَالَ أَمَّا هُمْ فَقَدْ سَمِعُوا أَنَّ الْمَلَائِكَةَ لَا تَدْخُلُ بَيْتًا فِيهِ صُورَةٌ هَذَا إِبْرَاهِيمُ مُصَوَّرٌ فَمَا بَالُهُ يَسْتَقْسِمُ؟