كتاب التوبة
50  
The Book of Repentance
(6)
Chapter: The Protective Jealousy (Ghirah) Of Allah The Most High, And The Prohibition Of Immoral Behavior
(6)
باب غَيْرَةِ اللَّهِ تَعَالَى وَتَحْرِيمِ الْفَوَاحِشِ ‏‏
Sahih Muslim 2760 c

'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.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَابْنُ، بَشَّارٍ قَالاَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، عَنْ عَمْرِو بْنِ مُرَّةَ، قَالَ سَمِعْتُ أَبَا وَائِلٍ، يَقُولُ سَمِعْتُ عَبْدَ اللَّهِ بْنَ مَسْعُودٍ، يَقُولُ قُلْتُ لَهُ آنْتَ سَمِعْتَهُ مِنْ عَبْدِ اللَّهِ، قَالَ نَعَمْ وَرَفَعَهُ أَنَّهُ قَالَ ‏ "‏ لاَ أَحَدٌ أَغْيَرَ مِنَ اللَّهِ وَلِذَلِكَ حَرَّمَ الْفَوَاحِشَ مَا ظَهَرَ مِنْهَا وَمَا بَطَنَ وَلاَ أَحَدٌ أَحَبَّ إِلَيْهِ الْمَدْحُ مِنَ اللَّهِ وَلِذَلِكَ مَدَحَ نَفْسَهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2760c
In-book reference : Book 50, Hadith 39
USC-MSA web (English) reference : Book 37, Hadith 6647
  (deprecated numbering scheme)