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."
Sahih al-Bukhari Book 60, Hadith 151