Language:
كتاب التوحيد
97  
Oneness, Uniqueness of Allah (Tawheed)
(15)
Chapter: “…And Allah warns you against Himself…”
(15)
باب قَوْلِ اللَّهِ تَعَالَى {‏وَيُحَذِّرُكُمُ اللَّهُ نَفْسَهُ‏}‏
Sahih al-Bukhari 7403

Narrated `Abdullah:

The Prophet (ﷺ) said, "There is none having a greater sense of Ghira than Allah, and for that reason He has forbidden shameful deeds and sins (illegal sexual intercourse etc.) And there is none who likes to be praised more than Allah does." (See Hadith No. 147, Vol. 7)

حَدَّثَنَا عُمَرُ بْنُ حَفْصِ بْنِ غِيَاثٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا الأَعْمَشُ، عَنْ شَقِيقٍ، عَنْ عَبْدِ اللَّهِ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ مَا مِنْ أَحَدٍ أَغْيَرُ مِنَ اللَّهِ، مِنْ أَجْلِ ذَلِكَ حَرَّمَ الْفَوَاحِشَ، وَمَا أَحَدٌ أَحَبَّ إِلَيْهِ الْمَدْحُ مِنَ اللَّهِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 7403
In-book reference : Book 97, Hadith 32
USC-MSA web (English) reference : Vol. 9, Book 93, Hadith 500
  (deprecated numbering scheme)