حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ حُمَيْدِ بْنِ قَيْسٍ، وَثَوْرِ بْنِ زَيْدٍ الدِّيلِيِّ، أَنَّهُمَا أَخْبَرَاهُ عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم وَأَحَدُهُمَا يَزِيدُ فِي الْحَدِيثِ عَلَى صَاحِبِهِ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم رَأَى رَجُلاً قَائِمًا فِي الشَّمْسِ فَقَالَ ‏"‏ مَا بَالُ هَذَا ‏"‏ ‏.‏ فَقَالُوا نَذَرَ أَنْ لاَ يَتَكَلَّمَ وَلاَ يَسْتَظِلَّ مِنَ الشَّمْسِ وَلاَ يَجْلِسَ وَيَصُومَ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مُرُوهُ فَلْيَتَكَلَّمْ وَلْيَسْتَظِلَّ وَلْيَجْلِسْ وَلْيُتِمَّ صِيَامَهُ ‏"‏ ‏.‏ قَالَ مَالِكٌ وَلَمْ أَسْمَعْ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَمَرَهُ بِكَفَّارَةٍ وَقَدْ أَمَرَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يُتِمَّ مَا كَانَ لِلَّهِ طَاعَةً وَيَتْرُكَ مَا كَانَ لِلَّهِ مَعْصِيَةً ‏.‏

Yahya related to me from Malik that Humayd ibn Qays and Thawr ibnZayd adDili both informed him that the Messenger of Allah, may Allahbless him and grant him peace, (and one of them gave more detail thanthe other),saw a man standing in the sun. The Messenger asked, "What'swrong with him?" The people said, "He has vowed not to speak or toseek shade from the sun or to sit and to fast." The Messenger ofAllah, may Allah bless him and grant him peace, said, "Go and tell himto speak, seek shade, and sit, but let him complete his fast." Malik said, "I have not heard that the Messenger of Allah, mayAllah bless him and grant him peace, ordered the man in question to doany kaffara. The Messenger of Allah, may Allah bless him and grant himpeace, only ordered him to complete that in which there was obedienceto Allah and to abandon that in which there was disobedience toAllah." Translation Not Available

Book Ref: Muwatta Imam Malik Book 22 Hadith 1018
Web Ref:  Muwatta Imam Malik Book 22 Hadith 6