Sahih al-Bukhari 6704
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مُرْهُ فَلْيَتَكَلَّمْ وَلْيَسْتَظِلَّ وَلْيَقْعُدْ وَلْيُتِمَّ صَوْمَهُ "
Narrated Ibn `Abbas:
While the Prophet (ﷺ) was delivering a sermon, he saw a man standing, so he asked about that man. They (the people) said, "It is Abu Israil who has vowed that he will stand and never sit down, and he will never come in the shade, nor speak to anybody, and will fast.'' The Prophet (ﷺ) said, "Order him to speak and let him come in the shade, and make him sit down, but let him complete his fast."
Full reference and source
Sahih al-Bukhari 6704 In-book : Book 83, Hadith 81 USC-MSA web (English) : Vol. 8, Book 78, Hadith 695 (deprecated)
View source on Sunnah.com (opens in a new tab)