let me tell you no one actually stops you from entering Mecca to check if you’re muslim. I’ve been there multiple times (I’m a Muslim) and there isn’t like 
a toll both that checks if you’re Muslim or not