South Africa had an appeal turned down after the Pakistan batter brought day three to an unusual close. What do the Laws say?