It was narrated from ‘Uqbah bin ‘Amr, Abu Mas’ud, that the Messenger of Allah (ﷺ) said:“Among the words that people learned from the earlier Prophets are: ‘If you feel no shame, then do as you wish.’”
Hadith No. 4183
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Zubair Ali Zai:
Sahih Bukhari