article 16 of south africas bill of rights
It guarantees that no conduct shall be punished if it was not a criminal offence at the time of its occurrence.I hope I helped! =D