Sunan Ibn Majah — Establishing the Prayer and the Sunnah Regarding Them — Hadith No: 1391
Translation
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