(5) باب مَا يُكْرَهُ مِنَ التَّعَمُّقِ وَالتَّنَازُعِ فِي الْعِلْمِ وَالْغُلُوِّ فِي الدِّينِ وَالْبِدَعِ
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(deprecated numbering scheme): Vol. 9, Book 92, Hadith 404