“The Messenger of Allah (ﷺ) came to the mosque at Quba’ and performed prayer there. Some men of the Ansar came and greeted him. I asked Suhaib, who was with him: ‘How did the Messenger of Allah (ﷺ) respond to them?’ He said: ‘He gestured with his hand.’”
Sunan Ibn Majah Book 5, Hadith 215