Question
Is it permissible to supplicate to Allah, the Exalted, by making the righteous deeds of the Prophets (peace be upon them), the noble Companions (may Allah be pleased with them) and the great saints (may Allah have mercy on them), and their sanctity, a means of approach?
Answer
الحمد لله، والصلاة والسلام علىٰ رسول الله، أما بعد!
When a person supplicates to Allah, the Exalted, he may mention before Allah his own righteous deeds that were done purely for Allah. This method is established by a sahih (authentic) hadith, as in the account of the three men who took shelter in a cave to protect themselves from the rain, and then each of them supplicated to Allah by making his own good deed a means of approach.
✿ This account has come in the hadith, in which three people sought help from Allah, the Exalted, by mentioning their own good deeds, and Allah, the Exalted, accepted their supplication.
However:
When supplicating to Allah, the Exalted, making the person of another servant, his words, his good deeds, or his sanctity a means of approach is not established from the Qur’an and the Sunnah.
That is:
✿ Neither is making the person of the Prophets (peace be upon them) a means of approach established.
✿ Nor the words or deeds of the noble Companions (may Allah be pleased with them).
✿ Nor is supplicating by making the sanctity or the good deeds of the noble saints (may Allah have mercy on them) a means of approach established from the Book and the Sunnah.
These things are not established by Shari’ah evidences.
Hadith reference:
Conclusion:
Therefore, if a person, when supplicating, mentions his own pure good deed, this is permissible, as is established by a sahih (authentic) hadith. However, supplicating to Allah by making the person of others or their deeds a means of approach is not established by the Qur’an, the Sunnah, or the sayings of the Companions.
ھذا ما عندي والله أعلم بالصواب