The Statement of Allah: ...Come not near to Al-Fawahish (shameful sins, illegal sexual intercourse), whether committed openly or secretly... (V.6:151)

Hadith Number 4634

setting

Narrated Abu Wail

`Abdullah (bin Mas`ud) said, "None has more sense of ghaira than Allah therefore - He prohibits shameful sins (illegal sexual intercourse, etc.) whether committed openly or secretly. And none loves to be praised more than Allah does, and for this reason He praises Himself." I asked Abu Wali, "Did you hear it from `Abdullah?" He said, "Yes," I said, "Did `Abdullah ascribe it to Allah's Messenger (ﷺ)?" He said, "Yes."