I offered with the Messenger of Allah (ﷺ) the noon prayer and the Messenger of Allah (ﷺ) gave salutation after two rak'ahs. A person from Bani Sulaim stood up, and the rest of the hadith was narrated as mentioned above.
Sahih Muslim Book 5, Hadith 130