Sahih al-Bukhari 6821 - If somebody commits a sin less than the legal punishment and informs the ruler, no punishment is to be inflicted on him after his repentance | Criterion