(Imām Bukhārī narrates): Abū al-Walīd narrated to us, he said: Shu'bah narrated to us, from Sa'd ibn Ibrāhīm, from Abī Salamah, from Abū Hurairah, may Allāh be pleased with him, he narrated that:
the Prophet ﷺ led two rak'ahs of the Zuhr prayer. It was said to him: You have prayed two rak'ahs of Zuhr. So he prayed (an additional) two rak'ahs, then he gave the salām and performed two sajdahs (of sahw).
حَدَّثَنَا أَبُو الوَلِيدِ، قَالَ: حَدَّثَنَا شُعْبَةُ، عَنْ سَعْدِ بْنِ إِبْرَاهِيمَ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ: صَلَّى النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ الظُّهْرَ رَكْعَتَيْنِ، فَقِيلَ: صَلَّيْتَ رَكْعَتَيْنِ، فَصَلَّى رَكْعَتَيْنِ، ثُمَّ سَلَّمَ، ثُمَّ سَجَدَ سَجْدَتَيْنِ
Reference: Sahih Al Bukhari 715