Abu Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, said, “Verily, among the words people obtained from the Prophets are this: If you feel no shame, do as you wish.”
Source: Ṣaḥīḥ al-Bukhārī 3483
Grade: Sahih (authentic) according to Al-Bukhari
عَنْ أَبِي مَسْعُودٍ عُقْبَةَ قَالَ قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّ مِمَّا أَدْرَكَ النَّاسُ مِنْ كَلَامِ النُّبُوَّةِ إِذَا لَمْ تَسْتَحْيِ فَافْعَلْ مَا شِئْتَ
3483 صحيح البخاري كتاب أحاديث الأنبياء باب حديث الغار