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