We have some wisdom from our Creator. God, the All-Knowing, knows the future of everything in the universe. So God knows what is good for us and what is bad for us.
What we want for ourselves may not be good for us. And what we don’t want is good for us. So not getting what is asked in dua does not mean that Allah did not give anything.
The Beloved Prophet (peace and blessings of Allaah be upon him) said: Soon his dua is granted, it is reserved for the hereafter, or any similar misfortune is removed from his life. ” People said, “Then we will pray more and more.” He said, “Allah is the Most Generous.” (Ahmad 3/17, Hakeem 1/493, Ja-Dul Masir 1/190)
Praying for a sinful act or for breaking off kinship will not be accepted. Dua of sin such as – Dua of not being caught for bad deeds, Dua of not being caught for adultery.
Eating or wearing forbidden things: Not paying attention to the halal income and adding the word ‘if’ in the will of Allah.
God does not accept the prayers of three types of people. The Prophet (peace and blessings of Allaah be upon him) said, “Three people make du’aa ‘while their du’aa’ is not granted; (1) A person who has a wicked wife in his marriage but does not divorce her, (2) A person who owns property to another person but does not bear witness over it, (3) A person who gives his wealth to a fool but Allah says: “And do not leave your wealth in the hands of fools.” (K. 4/5, Hakeem 2/302).