I said, "Messenger of Allah, when I see you, my soul is at ease and my eyes find delight. So tell me about everything."He replied, "Everything was created from water."I said, "Tell me of a deed which, if I take hold of it, will admit me to Paradise."He said, "Spread the greeting of peace, feed others, maintain ties of kinship, and stand in prayer at night while people sleep, then enter Paradise in peace."
قلت: يا رسول الله! إني إذا رأيتك طابت نفسي وقرت عيني، فأنبئني عن كل شيء. فقال: كل شيء خلق من ماء قال: قلت: أنبثني عن أمر إذا أخذت به دخلت الجنة. قال: أفش السلام، وأطعم الطعام، وصل الأرحام، وقم بالليل والناس نيام، ثم ادخل الجنة بسلام.
Ahmad narrated it (7932), and Ibn Hibban graded it sahih (508, 2559), as did Hakim (4/129), all of them by way of Hammam, from Qatada, from Abu Maymuna, from Abu Hurairah, who related it. Its chain of transmission is sahih. The discussion of it is treated at length in the Book of Prayer. There are other hadiths with the same meaning mentioned in the Book of Faith and the Book of Prayer.