حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ أَبُو مَعْمَرٍ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ، عَنْ يُونُسَ، عَنِ الزُّهْرِيِّ، عَنْ أَبِي سَلَمَةَ، عَنْ عَائِشَةَ، رضى الله عنها أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏:‏ ‏"‏ لاَ نَذْرَ فِي مَعْصِيَةٍ، وَكَفَّارَتُهُ كَفَّارَةُ يَمِينٍ ‏"‏ ‏.‏
Translation
Narrated Ibn 'Abbas

While the Prophet (ﷺ) was preaching a man was standing in the sun. He asked about him. They said: He is Abu Isra'il who has taken a vow to stand and not to sit, or go into shade, or speak, but to fast. Thereupon he said: Command him to speak, to go into the shade, sit and complete his fast.