It was narrated by Abu Huraira:
The Prophet (ﷺ) said, “Faith (Belief) consists of more than sixty branches (i.e. parts). And Haya (This term “Haya” covers a large number of concepts which are to be taken together; amongst them are self respect, modesty, bashfulness, and scruple, etc.) is a part of faith.
Sahih al Bukhari, Book 2, Hadith 2
May Allah subhanahu wa ta’ala make us amongst those that adopt Haya in their life, ameen.
Abu Mas’ud reported that 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ī 3296
Grade: Sahih (authentic) according to Al-Bukhari
*Al-Haafiz said: The words “then do as you wish” appear in the imperative (a command) but what is meant is a threat, i.e., do as you wish and Allah will requite you. (source: islamqa.info)