Abdullah bin Masud reported,

The Messenger of Allah ﷺ said, "There is no one who loves praise more than Allah عز وجل, and for that reason He has praised Himself. There is no one more protective of honor than Allah, and for that reason He has forbidden indecencies. There is no one who loves to accept an excuse more than Allah, and for that reason He sent down the Book and dispatched the messengers."

Muslim 6994

Sahih

حدثنا عثمان بن أبي شيبة وزهير بن حرب وإسحق بن إبراهيم قال إسحق أخبرنا و قال الآخران حدثنا جرير عن الأعمش عن مالك بن الحارث عن عبد الرحمن بن يزيد

عن عبد الله بن مسعود قال

قال رسول الله ﷺ ليس أحد أحب إليه المدح من الله عز وجل من أجل ذلك مدح نفسه وليس أحد أغير من الله من أجل ذلك حرم الفواحش وليس أحد أحب إليه العذر من الله من أجل ذلك أنزل الكتاب وأرسل الرسل

مسلم 6994صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Tawba
Chapter
Jealousy of Allah and prohibition of immorality
Numbering
Darussalam 6994
Muslim 6994