The Prophet ﷺ said, "Among the sayings people have inherited from the earliest prophets is this, 'If you have no shame, then do as you please.'"
قال النبي ﷺ: إن مما أدرك الناس من كلام النبوة الأولى: إذا لم تستحي فاصنع ما شئت.
Bukhari narrated it in al-Adab (6120), from Ahmad bin Yunus, who said, Zuhayr narrated to us, who said, Mansur narrated to us, from Rabi bin Harash, who said, Abu Masud narrated to us, and he mentioned it.