أَخْبَرَنَا مُحَمَّدُ بْنُ مُوسَى ، حَدَّثَنَا أَبُو عَبْدِ اللَّهِ الصَّفَّارُ ، حَدَّثَنَا ابْنُ أَبِي الدُّنْيَا ، حَدَّثَنَا أَبُو خَيْثَمَةَ ، حَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ بْنِ سَعْدٍ ، عَنْ أَبِيهِ ، عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ قَالَ : حَدَّثَنِي عِيسَى بْنُ عَبْدِ اللَّهِ بْنِ مَالِكٍ ، عَنْ مُحَمَّدِ بْنِ عُمَرَ بْنِ عَطَاءٍ ، عَنْ عَطَاءِ بْنِ يَسَارٍ ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ : سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ : " إِذَا أَرَادَ أَحَدُكُمْ أَمْرًا فَلْيَقُلِ : اللَّهُمَّ إِنِّي أَسْتَخِيرُكَ بِعِلْمِكَ ، وَأَسْتَقْدِرُكَ بِقُدْرَتِكَ ، وَأَسْأَلُكَ مِنْ فَضْلِكَ الْعَظِيمِ ، فَإِنَّكَ تَقْدِرُ وَلَا أَقْدِرُ ، وَتَعْلَمُ وَلَا أَعْلَمُ ، وَأَنْتَ عَلَّامُ الْغُيُوبِ ، اللَّهُمَّ إِنْ كَانَ كَذَا وَكَذَا - لِلْأَمْرِ الَّذِي يُرِيدُ - خَيْرًا لِي فِي دِينِي وَمَعِيشَتِي ، وَعَاقِبَةِ أَمْرِي وَإِلَّا فَاصْرِفْهُ عَنِّي ، وَاصْرِفْنِي عَنْهُ ، ثُمَّ اقْدُرْ لِي الْخَيْرَ أَيْنَ كَانَ ، وَلَا حَوْلَ وَلَا قُوَّةَ إِلَّا بِاللَّهِ " .
Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) narrates that he heard the Messenger of Allah (peace and blessings be upon him) say: "When one of you intends to do something, let him say: 'O Allah, I seek good from You by Your knowledge, I seek ability from You by Your power, and I ask You of Your immense bounty, for You have power and I have none, You know and I do not know, and You are the Knower of the unseen. O Allah, if this matter (here he names the matter he intends) is good for me in my religion, my livelihood and the outcome of my affairs (then decree it for me), and if not, then turn it away from me and turn me away from it, then decree for me what is good wherever it may be; and there is no power to avoid sin and no strength to do good except through Allah.'"