The Messenger of Allah ﷺ said, "Spread the greeting of peace, feed others, and be brothers as Allah has commanded you."
حدثنا محمد بن يحيى الأزدي حدثنا حجاج بن محمد عن ابن جريج قال سليمان بن موسى حدثنا عن نافع أن
إن رسول الله ﷺ قال أفشوا السلام وأطعموا الطعام وكونوا إخوانا كما أمركم الله عز وجل
Its chain is sahih. Ahmad reported it, 2/156, through the hadith of Ibn Jurayj with this wording. In some copies of Musnad Imam Ahmad, it is narrated from Ibn Jurayj, who said, "Sulayman said to me..." (9/174, 175, hadith 6450, edited by Ahmad Shakir). I say, Ibn Jurayj explicitly stated that he heard it directly, and it has a corroborating narration in Muslim, hadith 2563/25b, from the hadith of Abu Hurairah.