Is it permissible to say "Yataqabalu Allah" (May Allah accept your deed) to a person who is leaving the Masjid (mosque) after performing Salah (prayer) or he who is observing Swam (fast)? (Part No. 6; Page No. 331) I have
noticed that this saying bears the meaning of the imperative. Allah (Glorified and Exalted be He) can not be commanded. Guide us to the truth! May Allah reward you!
A person who is leaving the Masjid should say the Du`a' (supplication) that was authentically reported from the Prophet (peace be upon him):
When any of you enters the mosque, he should invoke peace upon the Prophet (peace be upon him) and then say: "O Allah! Open for me the doors of Your Mercy"; and when he steps out he should say: 'O Allah! I beg of You Your Grace."
Saying: "Yataqabalu Allah" (May Allah accept your deeds!) is a supplication in the form of predication. It is a supplication for a Muslim person, not an imperative or a command to Allah. This saying is similar to saying: "May Allah accept our deeds or the deeds of so-and-so." Therefore, this saying is not a command but a supplication.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.