The Statement of Allah: Say (O Muhammad ﷺ): (But) the things that my Lord has indeed forbidden are Al-Fawãhish (great evil sins, every kind of unlawful sexual intercourse) whether committed openly or secretly. (V.7:33)

Hadith Number 4637

setting

Narrated `Abdullah bin Mas`ud

Allah's Messenger (ﷺ) said, "None has more sense of ghaira than Allah, and for this He has forbidden shameful sins whether committed openly or secretly, and none loves to be praised more than Allah does, and this is why He Praises Himself."