that the Messenger of Allah (ﷺ) said: "The Salam is before talking." With this chain it has been reported that the Prophet (ﷺ) said: "Do not invite anyone to the food until the Salam is given."
Jami` at-Tirmidhi Book 42, Hadith 12