صحيح البخاري، كتاب الصلاة، حديث رقم 84 (الترقيم العام 428)
Explanation and benefits
'Umar رضي الله عنه said, "We do not enter your churches because of the statues and pictures." Ibn 'Abbas used to offer Salat (prayers) in the church provided there were no statues in it.
وَقَالَ عُمَرُ رَضِيَ اللَّهُ عَنْهُ إِنَّا لاَ نَدْخُلُ كَنَائِسَكُمْ مِنْ أَجْلِ التَّمَاثِيلِ الَّتِي فِيهَا الصُّوَرَ.
وَكَانَ ابْنُ عَبَّاسٍ يُصَلِّي فِي الْبِيعَةِ إِلاَّ بِيعَةً فِيهَا تَمَاثِيلُ.
The Hadith grade and explanation are shown as entered in the database. Please consult the cited reference.