in the Hanafi madhab, non-muslims are prohibbited from performing hajj, but not entering Mosques itself, so there really is no problem with allowing them into the Mosque