Sayyiduna Ma'n bin Yazid al-Sulami (may Allah be pleased with him) narrates: A Bedouin came and took hold of the nose-rein of the she-camel of the Prophet (peace and blessings be upon him), and said: O Prophet of Allah! Tell me of a deed that will bring me near to Paradise and keep me far from the Fire. He (peace and blessings be upon him) said: "You have been brief in your question, and yet you have asked about something vast: worship Allah and do not associate anything with Him, pray the five prayers, fast Ramadan, and whatever you would dislike people doing to you, dislike doing it to them."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17118