حَدَّثَنَا عُبَيْدُ بْنُ غَنَّامٍ، ثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، ثَنَا شَرِيكٌ، عَنْ مَنْصُورٍ، عَنْ رِبْعِيٍّ، عَنْ أَبِي مَسْعُودٍ قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «آخِرُ مَا كَانَ مِنْ كَلَامِ النُّبُوَّةِ الْأُولَى إِذَا لَمْ تَسْتَحِ فَافْعَلْ مَا شِئْتَ»
It is narrated from Sayyiduna Abu Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The last of the words of the earlier prophethood was this: If you have no shame, then do as you wish."