The Messenger of Allah ﷺ prayed five rak’ahs in the noon prayer. He was asked whether the prayer had been extended. He asked what they meant by that. The people said : you prayed five rak’ahs. Then he made two prostrations after having given the salutation.
صَلَّى رَسُولُ اللَّهِ ﷺ الظُّهْرَ خَمْسًا فَقِيلَ لَهُ أَزِيدَ فِي الصَّلاَةِ قَالَ وَمَا ذَاكَ قَالَ صَلَّيْتَ خَمْسًا فَسَجَدَ سَجْدَتَيْنِ بَعْدَ مَا سَلَّمَ