Ubaid ibn Umair reported: Umar ibn al-Khattab, may Allah be pleased with him, supplicated after bowing in prayer and he said, “O Allah, forgive the believing men and believing women and the Muslim men and Muslim women, bring their hearts together and reconcile between them, support them against Your enemies and their enemies. O Allah, the curse is upon those who disbelieved among the people of the Scripture, who obstruct people from Your path and have denied Your Messenger and have fought Your allies. O Allah, oppose their words and shake their footing and send upon them Your strength which the criminals cannot repel. In the name of Allah, the Gracious, the Merciful, we seek Your help and we seek Your forgiveness. We praise You, we do not deny You, and we disavow and abandon whoever is wicked to You. In the name of Allah, the Gracious, the Merciful, You alone we worship, we pray to You, we prostrate for You, we strive for You, we fear Your punishment and we hope in Your mercy. Verily, Your punishment of the unbelievers will be carried out.”
Source: al-Sunan al-Kubrá lil-Bayhaqī 3143
Grade: Sahih (authentic) according to Ibn Hajar
عَنْ عُبَيْدِ بْنِ عُمَيْرٍ أَنَّ عُمَرَ رَضِيَ اللَّهُ عَنْهُ قَنَتَ بَعْدَ الرُّكُوعِ فَقَالَ اللَّهُمَّ اغْفِرْ لَنَا وَلِلْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ وَالْمُسْلِمِينَ وَالْمُسْلِمَاتِ وَأَلِّفْ بَيْنَ قُلُوبِهِمْ وَأَصْلِحْ ذَاتَ بَيْنِهِمْ وَانْصُرْهُمْ عَلَى عَدُوِّكَ وَعَدُوِّهِمْ اللَّهُمَّ الْعَنْ كَفَرَةَ أَهْلِ الْكِتَابِ الَّذِينَ يَصُدُّونَ عَنْ سَبِيلِكَ وَيُكَذِّبُونَ رُسُلَكَ وَيُقَاتِلُونَ أَوْلِيَاءَكِ اللَّهُمَّ خَالِفْ بَيْنَ كَلِمَتِهِمْ وَزَلْزِلْ أَقْدَامَهُمْ وَأَنْزِلْ بِهِمْ بَأْسَكَ الَّذِي لا تَرُدُّهُ عَنِ الْقَوْمِ الْمُجْرِمِينَ بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ اللَّهُمَّ إِنَّا نَسْتَعِينُكَ وَنَسْتَغْفِرُكَ وَنُثْنِي عَلَيْكَ وَلا نَكْفُرُكَ وَنَخْلَعُ وَنَتْرُكُ مَنْ يَفْجُرُكَ بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ اللَّهُمَّ إِيَّاكَ نَعْبُدُ وَلَكَ نُصَلِّي وَنَسْجُدُ وَلَكَ نَسْعَى وَنَحْفِدُ وَنَخْشَى عَذَابَكَ الْجِدَّ وَنَرْجُو رَحْمَتِكَ إِنَّ عَذَابَكَ بِالْكَافِرِينَ مُلْحِقٌ
3143 السنن الكبرى للبيهقي كتاب الصلاة باب دعاء القنوت
2/158 المحدث ابن حجر العسقلاني خلاصة حكم المحدث موقوف صحيح في نتائج الأفكار