Abdullah bin Salam reported,

When the Messenger of Allah ﷺ arrived in Medina, people rushed out toward him, and it was being announced, "The Messenger of Allah ﷺ has come! The Messenger of Allah ﷺ has come! The Messenger of Allah ﷺ has come!"I came along with the crowd to see him. When I looked closely at the face of the Messenger of Allah ﷺ, I knew that his was not the face of a liar. The first thing he said was, "People, spread the greeting of peace, feed others, pray while people are sleeping, and you will enter Paradise in peace."

Azami 2682

Sahih

عن عبد الله بن سلام قال

لما قدم رسول الله ﷺ المدينة انجفل الناس إليه، وقيل: قدم رسول الله ﷺ، قدم رسول الله ﷺ، قدم رسول الله ﷺ، فجئت في الناس لأنظر إليه، فلما استثبت وجه رسول الله ﷺ عرفت أن وجهه ليس بوجه كذاب، وكان أول شيء تكلم به أن قال: أيها الناس! أفشوا السلام، أطعموا الطعام، وصلوا والناس نيام، تدخلوا الجنة بسلام.

الأعظمي 2682صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Encouragement to pray at night
Numbering
Jami al-Kamil 2682 (2nd edition)
Azami 2682