حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ ، حَدَّثَنَا شَرِيكٌ ، عَنْ أَبِي إِسْحَاقَ ، عَنْ بُرَيْدِ بْنِ أَبِي مَرْيَمَ ، عَنْ أَبِي الْحَوْرَاءِ ، عَنِ الْحَسَنِ بْنِ عَلِيٍّ قَالَ : عَلَّمَنِي جَدِّي رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - كَلِمَاتٍ أَقُولُهُنَّ فِي قُنُوتِ الْوِتْرِ : اللَّهُمَّ عَافِنِي فِيمَنْ عَافَيْتَ ، وَتَوَلَّنِي فِيمَنْ تَوَلَّيْتَ ، وَاهْدِنِي فِيمَنْ هَدَيْتَ ، وَقِنِي شَرَّ مَا قَضَيْتَ ، فَإِنَّكَ تَقْضِي وَلَا يُقْضَى عَلَيْكَ ، وَإِنَّهُ لَا يَذِلُّ مَنْ وَالَيْتَ ، سُبْحَانَكَ تَبَارَكْتَ وَتَعَالَيْتَ .
It is narrated from Sayyiduna Hasan bin Ali (may Allah be pleased with them both) that he said: "My grandfather, the Messenger of Allah (peace and blessings be upon him), taught me some words to say in the supplication of Witr (Qunut al-Witr): 'Allahumma 'afini fiman 'afayt, wa tawallani fiman tawallayt, wahdini fiman hadayt, wa qini sharra ma qadayt, fa-innaka taqdi wa la yuqda 'alayk, wa innahu la yadhillu man walayt, subhanaka tabarakta wa ta'alayt' (O Allah, grant me well-being among those whom You have granted well-being, take me into Your care among those whom You have taken into Your care, guide me among those whom You have guided, and protect me from the evil of what You have decreed. For You decree and none can decree against You, and indeed, the one whom You befriend is never humiliated. Glory be to You; O our Lord, You are most Blessed and Exalted)."