حَدَّثَنَا عَمْرُو بْنُ رَافِعٍ، حَدَّثَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ، عَنْ عُقْبَةَ بْنِ عَمْرٍو أَبِي مَسْعُودٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ إِنَّ مِمَّا أَدْرَكَ النَّاسُ مِنْ كَلاَمِ النُّبُوَّةِ الأُولَى إِذَا لَمْ تَسْتَحِي فَاصْنَعْ مَا شِئْتَ ‏"‏ ‏.‏

It wasnarrated from ‘Uqbah bin ‘Amr, Abu Mas’ud, that the Messengerof Allah (PBUH) said: “Among the words that people learned from theearlier Prophets are: ‘If you feel no shame, then do as you wish.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 37 Hadith 4183
Web Ref:  Sunan Ibn Majah Vol 5 Book 37 Hadith 4183