Sayyiduna Ibn Abbas (may Allah be pleased with them both) said that if there are images in a church, then praying there is disliked.