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)
دَخَلَ رَسُولُ اللهِ ﷺ الْبَيْتَ فَوَجَدَ فِيهِ صُورَةَ إِبْرَاهِيمَ وَصُورَةَ مَرْيَمَ فَقَالَ «أَمَّا هُمْ قَدْ سَمِعُوا أَنَّ الْمَلَائِكَةَ لَا يَدْخُلُونَ بَيْتًا فِيهِ صُورَةٌ هَذَا إِبْرَاهِيمُ مُصَوَّرٌ فَمَا بَالُهُ يَسْتَقْسِمُ»