Language:
كتاب الاعتصام بالكتاب والسنة
96  
Holding Fast to the Qur'an and Sunnah
(5)
Chapter: Going deeply into and arguing about knowledge, and exaggerating in religion, and inventing heresies
(5)
باب مَا يُكْرَهُ مِنَ التَّعَمُّقِ وَالتَّنَازُعِ فِي الْعِلْمِ وَالْغُلُوِّ فِي الدِّينِ وَالْبِدَعِ
Sahih al-Bukhari 7301

Narrated `Aisha:

The Prophet (ﷺ) did something as it was allowed from the religious point of view but some people refrained from it. When the Prophet (ﷺ) heard of that, he, after glorifying and praising Allah, said, "Why do some people refrain from doing something which I do? By Allah, I know Allah more than they."

حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا الأَعْمَشُ، حَدَّثَنَا مُسْلِمٌ، عَنْ مَسْرُوقٍ، قَالَ قَالَتْ عَائِشَةُ ـ رَضِيَ الله عنها ـ صَنَعَ النَّبِيُّ صلى الله عليه وسلم شَيْئًا تَرَخَّصَ وَتَنَزَّهَ عَنْهُ قَوْمٌ، فَبَلَغَ ذَلِكَ النَّبِيَّ صلى الله عليه وسلم فَحَمِدَ اللَّهَ ثُمَّ قَالَ ‏ "‏ مَا بَالُ أَقْوَامٍ يَتَنَزَّهُونَ عَنِ الشَّىْءِ أَصْنَعُهُ، فَوَاللَّهِ إِنِّي أَعْلَمُهُمْ بِاللَّهِ، وَأَشَدُّهُمْ لَهُ خَشْيَةً ‏"‏‏.‏
Reference : Sahih al-Bukhari 7301
In-book reference : Book 96, Hadith 32
USC-MSA web (English) reference : Vol. 9, Book 92, Hadith 404
  (deprecated numbering scheme)