Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) used to teach us a supplication which we used to recite in the Fajr prayer: 'Allahumma-hdina fiman hadayt, wa 'afina fiman 'afayt, wa tawallana fiman tawallayt, wa barik lana fima a'tayt, wa qina sharra ma qadayt, fa innaka taqdi wa la yuqda 'alayk, wa innahu la yadhillu man walayt, tabarakta Rabbana wa ta'alayt' "O Allah, guide us and include us among those whom You have blessed with right guidance; grant us well-being and include us among those whom You have granted well-being; include us among those whom You have taken as Your friends and make us Your friends; bless us in what You have given us; and protect us and save us from the evil and harm You have decreed. Indeed, it is You who decrees, and no decree can be made against You, and whoever You befriend can never be humiliated. O our Lord, Blessed are You and Exalted."
(b) In the narration of Mukhallad bin Yazid, which is mursal (with a broken chain), it is that the Prophet (peace and blessings be upon him) taught one of his grandsons, Sayyiduna al-Hasan and al-Husayn (may Allah be pleased with them both), the supplication of the qunut of witr.
Burayd said: I heard both Ibn al-Hanafiyyah and Ibn Abbas (may Allah be pleased with them) saying that the Messenger of Allah (peace and blessings be upon him) used to recite this supplication in the qunut of the night.
(c) Likewise Abu Safwan al-Umawi narrated this narration from Ibn Jurayj, and in the hadith of Ibn Abbas (may Allah be pleased with them both) and Ibn al-Hanafiyyah it is that he used to recite it "in the qunut of the morning prayer."
(d) It is established that the supplication he (peace and blessings be upon him) taught is for both the qunut of the morning prayer and the qunut of witr, and that Burayd took this hadith through both chains. And success is only from Allah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3141