Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:1391Abū Bishr Bakr b. Khalaf > Salamah b. Rajāʾ > Shaʿthāʾ > ʿAbdullāh b. Abū Awfá

It was narrated from ‘Abdullah bin Abu Awfa that the Messenger of Allah ﷺ prayed two Rak’ah on the day when he was given the glad tidings of the head (death) of Abu Jahl.  

ابن ماجة:١٣٩١حَدَّثَنَا أَبُو بِشْرٍ بَكْرُ بْنُ خَلَفٍ حَدَّثَنَا سَلَمَةُ بْنُ رَجَاءٍ حَدَّثَتْنِي شَعْثَاءُ عَنْ عَبْدِ اللَّهِ بْنِ أَبِي أَوْفَى

أَنَّ رَسُولَ اللَّهِ ﷺ صَلَّى يَوْمَ بُشِّرَ بِرَأْسِ أَبِي جَهْلٍ رَكْعَتَيْنِ  


See similar narrations below:

Collected by Dārimī
darimi:1503Abū Nuʿaym > Salamah b. Rajāʾ > Shaʿthāʾ > Raʾayt Ibn Abū Awfá Ṣallá Rakʿatayn

[Machine] And he said, "The Messenger of Allah ﷺ used to pray two units of Duha prayer when he was given glad tidings of victory or upon the death of Abu Jahl's father."  

الدارمي:١٥٠٣حَدَّثَنَا أَبُو نُعَيْمٍ حَدَّثَنَا سَلَمَةُ بْنُ رَجَاءٍ حَدَّثَتْنَا شَعْثَاءُ قَالَتْ رَأَيْتُ ابْنَ أَبِي أَوْفَى صَلَّى رَكْعَتَيْنِ

وَقَالَ «صَلَّى رَسُولُ اللَّهِ ﷺ الضُّحَى رَكْعَتَيْنِ حِينَ بُشِّرَ بِالْفَتْحِ أَوْ بِرَأْسِ أَبِي جَهْلٍ»