The author – may Allah shower blessings on him – mentioned under the Chapter of Moderation in Worship, this hadeeth in which a man called Aboo Israa'eel vowed to remain standing in the sun and never to sit down, and to remain silent without ever talking while observing fasting! The Prophet (ﷺ) was delivering a sermon when he noticed this man standing in the sun. Thereupon, he – ﷺ – enquired about him and he was told about his story, the Prophet (ﷺ) therefore said, "Tell him to speak, take a shade, sit down and duly end his fast."
This vow included things beloved to Allah – the Mighty and Sublime – and other things Allah likes not. As for those believing to Allah, they include fasting since fasting is worship. The Prophet (ﷺ) had said, "Whoever vows to obey Allah should obey Him."(1) But as for his standing in the sun without taking a shade and his remaining silent, these are not beloved to Allah, the Mighty and the Sublime. For this reason, the Prophet (ﷺ) ordered this man to abandon the vow he had made.
It should be understood that vowing is basically disliked; in fact,
some of the scholars say it is prohibited; that it is not allowed for an individual to vow because his vowing makes what Allah has not charged him become a duty. For this reason, the Prophet (ﷺ) forbade vowing; he said, “It does bring any benefit; it is only a means of taking from the stingy.”(1) However, if a person vows; then vowing has different forms: A form that has the same ruling as Yameen (oath), another that is sinful act and the other form which relates to obedience.
As for that which has the rulings of oath, it is that with which the individual intends to emphasize a matter whether during disagreement or agreement, or while affirming truth or making an emphasis. For example, if it is said to a man, “You informed us of such-and-such but you are not truthful.” If he now says, “If I have lied; by Allah, I vow to fast for a year”; undoubtedly, his aim was to affirm his statement in order for it to be accepted as truthful.
The ruling in this circumstance is the same ruling in the matters of oath because he actually intended to underscore his statement therewith. Equally, if he intends to encourage himself; he says, for example, “If I do not do such-and-such, by Allah, I make a vow to fast for a year.” Here the person only intended to encourage (himself) to do what he mentioned. Similarly, the ruling is like that on oath. The evidence for this is the Prophet’s saying that, “The deeds are considered according to intentions, and the individual will get the reward for his intention.”(2) This one intends an oath; so he is charged accordingly.
As for the second form: that is, the prohibited form. If a person vows to do something prohibited, such as swearing by Allah to take alcohol. Such vows are forbidden and it is not permissible for him to drink it. However, he must expiate for the oath according to the most preponderant opinion even though some scholars hold that there is no obligation on him since the vow is basically null and void. However, the correct opinion is that the vow binds while executing
it is not permissible. An example of that is for a woman to say she vows by Allah to fast during her menstrual period! This is certainly prohibited; it is not permissible for her to fast during her menstrual period; nevertheless, the expiation for an oath is binding on her.
The third form: The vow of obedience; that a person makes a vow to obey (Allah) saying, for example, "By Allah, I vow to fast the days of full moon" i.e., the thirteenth, fourteenth, fifteenth days in the lunar months. Here he must fulfill his vow based on the saying of the Prophet (ﷺ), "Whoever vows to obey Allah should obey Him." Alternatively, he may say, "By Allah, I vow to observe two units of Prayer during the forenoon." Fulfilling such vow is binding on him since it is an act of obedience, and the Prophet (ﷺ) has said, "Whoever vows to obey Allah should obey Him."
If his vow includes both acts of obedience and disobedience, it is compulsory for him to fulfill the aspects of obedience and not those of disobedience. However, he must expiate for the oath. Like the story of this man who made a vow to remain in the sun without going under a shade, not to speak while observing a fast. The Prophet (ﷺ) ordered him to fast, because fasting is an act of obedience; but he -ﷺ- said about standing and refusing to go under the shade and remaining mute: "Tell him to speak, take a shade, sit down..."
For many of the people today, they vow whenever they consider a matter improbable or are anxious about it. For example, a person around him is sick; he goes and says, "By Allah, I promise that if Allah heals my sick friend I will do such-and-such." This is not prohibited; whether by way of dislike or utter forbiddance, but you should rather ask Allah for wellbeing for the sick fellow without any vow.
But in event that he vows that if Allah heals his sick fellow he will do such-and-such, it becomes obligatory on him to fulfill the vow.
Allah alone grants success.