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 to pay the Zakah to my grandmother who lives alone in a rented accommodation with bad conditions noting she had three sons.
Zakah cannot be given to ascendants (parents and grandparents). It is obligatory for her sons and grandsons to provide for her, and they would be sinful if they fail to do so. And Allah Knows Best.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is it permissible to make ablution without answering the call of nature after waking up?
Washing front and back openings (Istinjaa`) is not a condition for the validity of ablution because it is done to remove Najaasah (impurity), thus if there is no Najaasah, there is no need for that, and then it is permissible to make ablution without answering the call of nature. However, prayer is invalidated if there is Najaasah on the anus ,or the front opening, so it (Najaasah) must be removed for the prayer to become valid, and not the ablution.