The Prophet (ﷺ) said, "One of the sayings of the prophets which the people have got, is…

Sahih al-Bukhari Book 60 Hadith 150

Sahih al-Bukhari #3483

Prophets 60:150

Narrated Abu Masud `Uqba:

The Prophet (ﷺ) said, "One of the sayings of the prophets which the people have got, is. 'If you do not feel ashamed, then do whatever you like."

Grade: Sahih