It is narrated from Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him) that a Bedouin came before the Prophet (peace and blessings be upon him) during one of his journeys and said: Tell me of the deed that will bring me near to Paradise and keep me far from Hell. He (peace and blessings be upon him) said: "Worship Allah and do not associate anything with Him, establish the prayer, give zakah, and maintain the ties of kinship."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3909