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

Sahih al-Bukhari Book 60 Hadith 151

Sahih al-Bukhari #3484

Prophets 60:151

Narrated Abu Mus'ud:

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