Abdullah bin Abbas reported,

While the Prophet ﷺ was delivering a sermon, he noticed a man standing in the sun. He asked about him, and they said, "This is Abu Israil. He has vowed to remain standing without sitting, not to seek shade, not to speak, and to fast."The Prophet ﷺ said, "Tell him to speak, to seek shade, to sit down, and to complete his fast."

Abu Dawud 3300

Sahih

حدثنا موسى بن إسمعيل حدثنا وهيب حدثنا أيوب عن عكرمة

عن ابن عباس قال

بينما النبي ﷺ يخطب إذا هو برجل قائم في الشمس فسأل عنه قالوا هذا أبو إسرائيل نذر أن يقوم ولا يقعد ولا يستظل ولا يتكلم ويصوم قال مروه فليتكلم وليستظل وليقعد وليتم صومه

أبو داود 3300صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Oaths and vows
Chapter
Whoever considers expiation obligatory when in disobedience
Numbering
Darussalam 3300
Abu Dawud 3300