Sunan Ibn Majah, Volume 2, Book 5, Hadith 1391 (DarusSalam) ⓘ
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.
حَدَّثَنَا أَبُو بِشْرٍ، بَكْرُ بْنُ خَلَفٍ حَدَّثَنَا سَلَمَةُ بْنُ رَجَاءٍ، حَدَّثَتْنِي شَعْثَاءُ، عَنْ عَبْدِ اللَّهِ بْنِ أَبِي أَوْفَى، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ صَلَّى يَوْمَ بُشِّرَ بِرَأْسِ أَبِي جَهْلٍ رَكْعَتَيْنِ .
also referenced under: Hadith 1391 (Reference) & Book 5, Hadith 1455 (In-Book)