Nafi' says that Sayyiduna Ibn Umar (may Allah be pleased with them both) would pass through the mosque without praying in it.