The Prophet ﷺ prayed two rakʿat of Zuhr prayer (instead of four) and he was told that he had prayed two rakʿat only. Then he prayed two more rakʿat and finished them with the Taslim followed by two prostrations.
صَلَّى النَّبِيُّ ﷺ الظُّهْرَ رَكْعَتَيْنِ فَقِيلَ صَلَّيْتَ رَكْعَتَيْنِ فَصَلَّى رَكْعَتَيْنِ ثُمَّ سَلَّمَ ثُمَّ سَجَدَ سَجْدَتَيْنِ