Does the deceased hear the supplications or recitations of those visiting his/her grave? And does making constant supplications for the deceased who didn`t adhere to performing the prescribed prayers ameliorate his/her affliction?
Praise be to Allah the Lord of the Worlds.
In principle, the dead hear the living since it has been rigorously authenticated that the Prophet (PBUH) ordered the bodies of the idolaters slain in the Battle of Badr to be buried. He then approached them and called them one by one and said: "Have you found what your Lord promised to be true for we have found what our Lord promised us to be true." Umar asked him: "O messenger of God! Why do you speak to lifeless bodies?" The Prophet (PBUH) replied: "By the One Who has sent me with the truth! You do not hear my words better than they do except that they cannot respond." [Agreed upon].
However, not all the deceased are in the same situation because Allah The Almighty Knows: "Before them is a Partition till the Day they are raised up." [Al-Mu`minun/100]. Moreover, supplication reaches the deceased. And Allah Knows Best..
A man donated a burial plot, but before registering it in favor of the Ministry of Awqaf and before burying anybody there he said that he didn`t want to donate it and planted it. What is the ruling of Sharia on this?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
If he had endowed it as a cemetery, then he can`t take it back, even if he didn`t register it in favor of the Ministry of Awqaf. If he said: "I have endowed this plot as a cemetery, then it becomes an endowment." However, if he didn`t endow that plot-but it was his intention to do so-then he is allowed to back down. And Allah The Almighty Knows Best.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible for the wife to give the Zakah (obligatory charity) of her money to her poor husband?
Yes, it is permissible for the wife to give from the Zakah of her money to her poor husband. And Allah Knows Best.