Sahih Muslim 2760 c
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لاَ أَحَدٌ أَغْيَرَ مِنَ اللَّهِ وَلِذَلِكَ حَرَّمَ الْفَوَاحِشَ مَا ظَهَرَ مِنْهَا وَمَا بَطَنَ وَلاَ أَحَدٌ أَحَبَّ إِلَيْهِ الْمَدْحُ مِنَ اللَّهِ وَلِذَلِكَ مَدَحَ نَفْسَهُ "
Abdullah b. Mas'ud reported it directly from Allah's Messenger (ﷺ) that he said:
None is more self-respecting than Allah and it is because of this that He has prohibited abominable acts-both visible and invisible and nothing is loved by Allah more than the praise of His Ownself and it is because of this that He has praised Himself.
Full reference and source
Sahih Muslim 2760 c In-book : Book 50, Hadith 39 USC-MSA web (English) : Book 37, Hadith 6647 (deprecated)
View source on Sunnah.com (opens in a new tab)