كتاب إقامة الصلاة والسنة فيها
5  
Establishing the Prayer and the Sunnah Regarding Them
(117)
Chapter: What was narrated concerning the Qunut in Witr
(117)
باب مَا جَاءَ فِي الْقُنُوتِ فِي الْوِتْرِ
Sunan Ibn Majah 1178
It was narrated that Al-Hasan bin ‘Ali said:
“My grandfather, the Messenger of Allah (ﷺ), taught me some words to say in Qunut of Witr: Allahumma ‘afini fiman ‘afait, wa tawallani fiman tawallait, wahdini fiman hadait, wa qini sharra ma qadait, wa barik li fima a’tait. Innaka taqdi wa la yuqda ‘alaik, innahu la yudhillu man walait. Subhanaka rabbana tabarakta wa ta’alait (O Allah, pardon me along with those whom You have pardoned, be an ally to me along with those whom You are an ally to, guide me along with those whom You have guided, protect me from the evil that You have decreed, and bless for me that which You have bestowed. For verily You decree and none can decree over You. He whom You support can never be humiliated. Glory is to You, our Lord, You are Blessed and Exalted).”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا شَرِيكٌ، عَنْ أَبِي إِسْحَاقَ، عَنْ بُرَيْدِ بْنِ أَبِي مَرْيَمَ، عَنْ أَبِي الْحَوْرَاءِ، عَنِ الْحَسَنِ بْنِ عَلِيٍّ، قَالَ عَلَّمَنِي جَدِّي رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ كَلِمَاتٍ أَقُولُهُنَّ فِي قُنُوتِ الْوِتْرِ ‏ "‏ اللَّهُمَّ عَافِنِي فِيمَنْ عَافَيْتَ وَتَوَلَّنِي فِيمَنْ تَوَلَّيْتَ وَاهْدِنِي فِيمَنْ هَدَيْتَ وَقِنِي شَرَّ مَا قَضَيْتَ وَبَارِكْ لِي فِيمَا أَعْطَيْتَ إِنَّكَ تَقْضِي وَلاَ يُقْضَى عَلَيْكَ إِنَّهُ لاَ يَذِلُّ مَنْ وَالَيْتَ سُبْحَانَكَ رَبَّنَا تَبَارَكْتَ وَتَعَالَيْتَ ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan Ibn Majah 1178
In-book reference : Book 5, Hadith 376
English translation : Vol. 1, Book 5, Hadith 1178