Abdullah bin Masud reported,

The Prophet ﷺ prayed Dhuhr as five rakahs. He was asked, "Has the prayer been increased?"He replied, "Why do you ask?"They informed him of what had happened, so he turned his leg and performed two prostrations.

Ibn Majah 1205

Sahih

حدثنا محمد بن بشار وأبو بكر بن خلاد قالا حدثنا يحيى بن سعيد عن شعبة حدثني الحكم عن إبراهيم عن علقمة

عن عبد الله قال

صلى النبي ﷺ الظهر خمسا فقيل له أزيد في الصلاة قال وما ذاك فقيل له فثنى رجله فسجد سجدتين

ابن ماجه 1205صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
One who prays Dhuhr as five rakaat while forgetful
Numbering
Darussalam 1205
Ibn Majah 1205