Hadith on Istikharah: Prayer for guidance, Salat al-Istikharah

Jabir ibn Abdullah reported: The Messenger of Allah, peace and blessings be upon him, said, “When one of you has a matter of concern, let him perform two cycles of prayer besides the obligatory prayers. Then, let him say, ‘O Allah, I seek guidance from Your knowledge and power from Your might, and I ask You from Your tremendous favor. Verily, You have power and I do not have power, and You know and I do not know. You are the knowing of the unseen. O Allah, if You know that this matter is good for my religion and my livelihood and my fate, or if it is better for my present and latter needs, then decree it for me and make it easy for me and bless me in it. But if You know that this matter is evil for my religion and my livelihood and my fate, or if it is worse for my present and latter needs, then divert it from me and keep me away from it, and decree what is good for me and then make me content with it.‘ Then mention his need.”

Source: Ṣaḥīḥ al-Bukhārī 1166

Grade: Sahih (authentic) according to Al-Bukhari

عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا هَمَّ أَحَدُكُمْ بِالْأَمْرِ فَلْيَرْكَعْ رَكْعَتَيْنِ مِنْ غَيْرِ الْفَرِيضَةِ ثُمَّ لِيَقُلْ اللَّهُمَّ إِنِّي أَسْتَخِيرُكَ بِعِلْمِكَ وَأَسْتَقْدِرُكَ بِقُدْرَتِكَ وَأَسْأَلُكَ مِنْ فَضْلِكَ الْعَظِيمِ فَإِنَّكَ تَقْدِرُ وَلَا أَقْدِرُ وَتَعْلَمُ وَلَا أَعْلَمُ وَأَنْتَ عَلَّامُ الْغُيُوبِ اللَّهُمَّ إِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الْأَمْرَ خَيْرٌ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي أَوْ قَالَ عَاجِلِ أَمْرِي وَآجِلِهِ فَاقْدُرْهُ لِي وَيَسِّرْهُ لِي ثُمَّ بَارِكْ لِي فِيهِ وَإِنْ كُنْتَ تَعْلَمُ أَنَّ هَذَا الْأَمْرَ شَرٌّ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي أَوْ قَالَ فِي عَاجِلِ أَمْرِي وَآجِلِهِ فَاصْرِفْهُ عَنِّي وَاصْرِفْنِي عَنْهُ وَاقْدُرْ لِي الْخَيْرَ حَيْثُ كَانَ ثُمَّ أَرْضِنِي وَيُسَمِّي حَاجَتَهُ

1166 صحيح البخاري كتاب التهجد باب ما جاء في التطوع مثنى مثنى