Read the Arabic text and available English translation from Sahih al-Bukhari, with its supplied source reference.
Sahih al-Bukhari 7301
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
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."
Full reference and source
Sahih al-Bukhari 7301
In-book : Book 96, Hadith 32
USC-MSA web (English) : Vol. 9, Book 92, Hadith 404 (deprecated)
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.