One of the basic prerequisites for having our dua accepted is to ensure that our way of life is devoid of haram (illegal) provision and food. This essentially means to ensure that the way we make our living doesn’t involve haram. For example, if someone sells alcoholic products to make a living, that person’s dua’s according to Islamic teachings will not be entertained.
In a hadith it says:
The Prophet (Sallellahu Alaihi Wa Sallam) mentioned the man who undertakes a lengthy journey and is disheveled and covered with dust, and he stretches his hands towards heaven saying, ‘O Lord, O Lord,’ when his food is haraam, his drink is haraam, his clothes are haraam. He is nourished with haraam, so how can he be granted a response?"
[Narrated by Muslim, 1015]
Ibn Rajab Al-Hanbali (RH) said: It was narrated that ‘Umar Ibn Al-Khattaab (RA) said:
“By avoiding that which Allah
has forbidden, Allah will accept dua and tasbeeh.”
Ibn Al-Qayyim said:
Thus eating haraam things saps the strength of the dua and weakens it.
How sins block our dua is something that many of us don’t comprehend because if we did, we would pay more attention to stop the sins that we indulge in daily.
Al-Qurtubi (RH) said:
It was said to Ibraaheem ibn Adham (RH): 'Why is it that we supplicate and receive no response?' He said: 'Because you know Allah but you do not obey Him, and you know the Messenger but you do not follow his Sunnah, and you know the Quran but you do not act in accordance with it, and you eat from the blessings of Allah but you do not give thanks for them, and you know Paradise but you do not seek it, and you know Hell but you do not flee from it, and you know the shaytaan but you do not fight him rather you agree with him, and you know death but you do not prepare for it, and you have buried the dead but you do not learn a lesson from that, and you ignore your own faults and are preoccupied with other people’s faults.'
[Tafseer Al-Qurtubi, 2/312]