Allah (swt) says in the Holy Quran:
“Satan threatens you with poverty and orders you to immorality, while Allah promises you forgiveness from Him and bounty. And Allah is All-Encompassing and Knowing (TMQ-2:268)
When a person decides to give charity, Satan tries his level best to dissuade the person by saying that if you go ahead and give so much of your wealth in charity, you will end up become poor and bankrupt. Ironically, when a person contemplates spending money in evil deeds then Satan encourages the person. He presents the whole concept of the indulgent spending in a very attractive way in order to entice the person. Satan tries to arouse a desire in people to spend unnecessarily and if a person falls into the trap laid down by Satan then he may end up squandering lots of money. Under the influence of Satan people usually hesitate in spending some money for a religious or noble cause. On the other hand, under Satan’s influence the same people do not think twice before splurging money on worthless and evil things.
“And whatever you spend for spendings (for example- in charity etc for Allah’s cause) or whatever vow you make, be sure Allah knows it all. And for the zalimun (wrong-doers etc) there are no helpers”. (TMQ-2:270)
In this verse, vow implies that if a calamity befalls on a person and he swears to himself that if I get rid of my problems, then I shall spend so-and-so amount of money in the Way of Allah (swt). In such a case it becomes compulsory for the person to fulfill his vow because he has taken a vow for a legitimate cause. On the contrary, if a person vows to spend something in the Way of Allah due to some illegitimate cause, then it is not incumbent on such a person to fulfill his vow. Taking an oath is also a form of worship similar to offering Salaah and observing Sawm. Therefore if an oath is taken in someone else’s name besides Allah (swt), it will not be considered.
Keep Me In Your Prayers.