Abu Ayyub reported: A man came to the Prophet, peace and blessings be upon him, and he said, “Tell me what I can do to enter Paradise and avoid Hellfire.” The Prophet said, “Worship Allah and do not associate anything with Him, perform prayer, give in charity, and keep good relations with your family.” When the man turned away, the Prophet said, “If he adheres to what he has been commanded, then he will enter Paradise.”
Source: Ṣaḥīḥ al-Bukhārī 1396, Ṣaḥīḥ Muslim 13
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي أَيُّوبَ قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ دُلَّنِي عَلَى عَمَلٍ أَعْمَلُهُ يُدْنِينِي مِنْ الْجَنَّةِ وَيُبَاعِدُنِي مِنْ النَّارِ قَالَ تَعْبُدُ اللَّهَ لَا تُشْرِكُ بِهِ شَيْئًا وَتُقِيمُ الصَّلَاةَ وَتُؤْتِي الزَّكَاةَ وَتَصِلُ ذَا رَحِمِكَ فَلَمَّا أَدْبَرَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنْ تَمَسَّكَ بِمَا أُمِرَ بِهِ دَخَلَ الْجَنَّةَ
1396 صحيح البخاري كتاب الزكاة باب وجوب الزكاة
13 صحيح مسلم كتاب الإيمان باب بيان الإيمان الذي يدخل به الجنة وأن من تمسك بما أمر به دخل الجنة