Hadith from Sahih muslim Chapter No 1
Hadith No: 11 Narrated/Authority of Abu Ayyub Ansari
Once during the journey of the Holy Prophet, a bedouin appeared. He caught hold of the nosestring of the Prophet’s she-camel. The bedouin asked the Prophet, “Tell me what brings me closer to Paradise and keeps me away from Hell.” The Prophet paused and looked at his companions. Then he said, “You have been guided well.” The Prophet then told the bedouin, “Repeat what you said.” The bedouin repeated his question. The Prophet replied, “To get closer to Paradise and avoid Hell, worship Allah alone, pray, give to charity, and be good to your family.” After saying this, the Prophet asked the bedouin to let go of his she-camel’s nosestring.