A few scholars of Islamic law believe that non-Muslims may be allowed into mosques , as long as they do not sleep or eat there . Under most interpretations of Islamic law , non-Muslims may be allowed into mosques , as long as they do not sleep or eat there .