Yunus said that al-Hasan al-Basri said: When a slave confesses to fornication, his master is to give him fifty lashes.