Upvote:2
There is no rule regarding this, however to avoid being suspected of trying to live in South Africa, you should wait at least as long as you spent in South Africa, and bring as much documentation proving your ties to your home country, in case asked to present it at immigration.
It is also possible you will be let in, but given a shorter period of stay.