Abu Hurairah reported; The Prophet (ﷺ) offered the noon prayer and he gave the salutation at the end of two rakahs. He was asked. Has the prayer been shortened ? then he offered two rakahs of the prayer and made two prostrations (at the end of it)
SahihSahihSahihBook 2 · Hadith 625