A man said, "Messenger of Allah, tell me of a deed that will admit me into Paradise."The Messenger of Allah ﷺ replied, "Worship Allah and associate nothing with Him, establish the prayer, pay the zakat, and maintain ties of kinship. Let her go," as if he had been upon his mount.
أخبرنا محمد بن عثمان بن أبي صفوان الثقفي قال حدثنا بهز بن أسد قال حدثنا شعبة قال حدثنا محمد بن عثمان بن عبد الله وأبوه عثمان بن عبد الله أنهما سمعا موسى بن طلحة يحدث
يا رسول الله أخبرني بعمل يدخلني الجنة فقال رسول الله ﷺ تعبد الله ولا تشرك به شيئا وتقيم الصلاة وتؤتي الزكاة وتصل الرحم ذرها كأنه كان على راحلته
Bukhari narrated it in the Book of Manners, the chapter on the virtue of maintaining family ties, hadith 5983, and Muslim narrated it in the Book of Faith, the chapter explaining the faith by which one enters Paradise, etc., hadith 13/13, from the hadith of Bahz bin Assad through this same chain, and it is found in Kubra, hadith 328.