Originally Posted by Dotheboyshall:
“You provide proof that you are a Muslim when you apply for a visa”
A quick google will tell you SA issues visas for business purposes but you must have have an official invitation to travel there for that purpose. It doesn't issue tourist visas per se but does issue visas to those travelling to visit relatives or friends.
As for Mecca and Medina there are apparently sign posts which state non-Muslins are not permitted to enter.