I think non-Muslims are not prohibited inside mosques, because in my highschool days, i was invited by my Muslim friend to come and pray together in the mosque which I undoubtedly accepted, In fact if they knew that you are from another religion, they would give you a warm-hearted welcome and they would be pleased.