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.
أَنَّ رَسُولَ اللَّهِ ﷺ صَلَّى يَوْمَ بُشِّرَ بِرَأْسِ أَبِي جَهْلٍ رَكْعَتَيْنِ