Entry to Paradise (Jannah) depends first on sound faith: believing in Allah alone and in His messengers, and then on the obligatory acts and the avoidance of what is forbidden, all of it resting on Allah's mercy.
- The Prophet (saw) taught that none enters Paradise by his deeds alone, and that Allah's mercy is what carries a servant in (Sahih al-Bukhari and Sahih Muslim).
- The basics are belief in the six articles of faith, the five pillars of Islam (testimony of faith, prayer, zakat, fasting in Ramadan and Hajj for those able), good character and good treatment of parents, relatives and neighbours.
- Avoiding major sins, repenting quickly after any slip and ending life in faith complete the picture.
- Scholars of Ahl al-Sunna say a Muslim who dies with faith but with sins is under Allah's will: He may forgive him or punish him and then admit him to Paradise.
Introduction
The question asks for the basics a Muslim must do to attain Paradise. The Qur'an and the Sunna answer it in several places, and the scholars have gathered the answers under a few headings. This answer follows them: the foundation of faith, the pillars of practice, character and relationships, avoiding what destroys deeds, repentance, and the place of Allah's mercy. It then notes the way scholars treat the relation between faith and deeds. It is an answer for a Muslim seeking a clear outline, and it does not claim to list every deed that is promised reward.
The Qur'an describes Paradise as prepared for those who guard themselves against disobedience: and hasten to forgiveness from your Lord and a garden as wide as the heavens and the earth, prepared for the righteous (3:133). The following verses describe them as those who spend in ease and hardship, restrain anger, pardon people, and who, when they commit a wrong, remember Allah and ask forgiveness (3:134 to 135).
The foundation: faith
The first condition is faith. The Prophet (saw) said, in Sahih Muslim: whoever dies knowing that there is no god but Allah enters Paradise. The Qur'an says: Those who believe and do righteous deeds, they are the companions of Paradise, abiding therein (2:82). The hadith of Jibril in Sahih Muslim, narrated by 'Umar (ra), gives the six articles of faith: belief in Allah, His angels, His books, His messengers, the Last Day and the decree, good and bad. Scholars such as Imam al-Nawawi and Ibn Rajab in their commentaries on the Forty Hadith describe this hadith as the root of the religion, since it covers faith (iman), submission (islam) and excellence (ihsan).
Faith is not only a statement. Ahl al-Sunna, including Imam Ahmad, al-Bukhari in the Book of Faith in his Sahih, and Ibn Taymiyya in al-Iman, say that faith is belief of the heart, speech of the tongue and action of the limbs, which increases with obedience and decreases with disobedience. The Murji'a said that deeds are not part of faith, and the Khawarij said that a major sinner leaves the faith, and Ahl al-Sunna reject both positions. The Mu'tazila said a major sinner is in a middle position between belief and disbelief. This difference matters for the question, because it decides whether a Muslim who neglects deeds is assumed to be lost (the Khawarij), assumed to be safe (the Murji'a) or left to Allah's will (Ahl al-Sunna).
The pillars of practice
The Prophet (saw) said that Islam is built on five: the testimony that there is no god but Allah and that Muhammad is His messenger, establishing the prayer, giving zakat, fasting Ramadan and pilgrimage to the House for whoever is able (Sahih al-Bukhari and Sahih Muslim, hadith of Ibn 'Umar). Each is tied to Paradise in sound reports. Of prayer, he said: whoever prays the two cool prayers (fajr and 'asr) will enter Paradise (Sahih al-Bukhari and Sahih Muslim). He also said that the first matter on which a servant is judged is the prayer (Sunan al-Tirmidhi and Sunan al-Nasa'i, graded sahih by al-Albani). Of fasting, he said that Paradise has a gate called al-Rayyan through which only those who fast will enter (Sahih al-Bukhari and Sahih Muslim). Of Hajj, he said that an accepted pilgrimage has no reward but Paradise (Sahih al-Bukhari and Sahih Muslim).
A man from the desert came to the Prophet (saw) and asked for a deed that would take him into Paradise. The Prophet (saw) answered: worship Allah and associate nothing with Him, establish the prescribed prayer, pay the prescribed zakat and fast Ramadan. The man said that he would not add to it or reduce from it, and the Prophet (saw) said that whoever wished to see a man of Paradise should look at him (Sahih al-Bukhari and Sahih Muslim). Scholars such as Ibn Hajar in Fath al-Bari explain that the man was asking about the obligatory minimum, and that the reply does not make the voluntary acts worthless. The Prophet (saw) also taught that voluntary prayers make up for gaps in the obligatory ones.
Character, relationships and what to avoid
The Prophet (saw) said that the thing that most often admits people to Paradise is fear of Allah and good character (Jami' al-Tirmidhi, graded hasan sahih). Al-Tirmidhi and al-Albani also mention the hadith of Mu'adh ibn Jabal (ra), which describes Islam as the head of the matter, prayer as its pillar and jihad as its peak, and says that the tongue must be restrained. Another hadith in Sahih al-Bukhari says: whoever guarantees to me what is between his jaws and between his legs, I guarantee to him Paradise. The chapters of the Qur'an on the believers (23:1 to 11) list humility in prayer, avoiding idle talk, giving zakat, guarding chastity and keeping trusts, and end by saying that these will inherit Firdaws.
Parents and family count heavily. The Prophet (saw) said that a person who does not show mercy will not be shown mercy, and that the one who cuts the ties of kinship will not enter Paradise (Sahih al-Bukhari and Sahih Muslim). Scholars read this as a warning about the gravity of the sin, and they differ on whether it means permanent exclusion or a delay, with most saying it refers to one who considers it lawful or to a delayed entry. Major sins such as associating partners with Allah, murder, usury, consuming an orphan's property and false testimony are listed in the hadith of the seven destructive sins (Sahih al-Bukhari and Sahih Muslim). Arrogance is warned against in a hadith in Sahih Muslim: no one with an atom's weight of arrogance in his heart will enter Paradise.
Repentance and Allah's mercy
No servant is free of error, and the door of repentance is open: say, O My servants who have transgressed against themselves, do not despair of the mercy of Allah; indeed Allah forgives all sins (39:53). The Prophet (saw) said that Allah accepts the repentance of His servant until the throat rattles (Jami' al-Tirmidhi, graded hasan by al-Tirmidhi and al-Albani). The conditions of repentance, set out by al-Nawawi in Riyad al-Salihin, are to stop the sin, to regret it, to resolve not to return and to restore any rights owed to others.
Mercy is the last and decisive element. The Prophet (saw) said: none of you will enter Paradise by his deeds. They asked, not even you, O Messenger of Allah? He replied: not even me, unless Allah covers me with mercy and grace (Sahih al-Bukhari and Sahih Muslim). This does not cancel deeds, since the Qur'an says: enter Paradise for what you used to do (16:32). Scholars such as Ibn Hajar and al-Nawawi reconcile the verse and the hadith by saying that deeds are the cause that Allah has set, and the deeds themselves are possible only by His help, while the entry is by His grace. Ibn Rajab, in his commentary on this hadith, adds that a servant should hold hope and fear together, and that neither should be allowed to cancel the other.
Conclusion
The basics are faith in the six articles, the five pillars, good character, fulfilling the rights of parents, kin and neighbours, avoiding major sins, repenting after any fall, and dying in faith, with every step resting on the grace of Allah. A believer should not despair when he falls short, nor become complacent when he does well, and the Qur'an describes the people of Paradise as those who hope for His mercy and fear His punishment (32:16). Allah says: and whoever obeys Allah and His Messenger, He will admit him into gardens beneath which rivers flow (4:13).
References
Qur'an 2:82, 3:133 to 135, 4:13, 16:32, 23:1 to 11, 32:16, 39:53
Sahih al-Bukhari and Sahih Muslim: hadith of Jibril; the pillars of Islam; the man of the desert; none enters by deeds alone; the two cool prayers; the gate of al-Rayyan
Jami' al-Tirmidhi and Sunan al-Nasa'i with al-Albani's gradings; Sunan Ibn Majah
al-Nawawi, Riyad al-Salihin and al-Arba'in; Ibn Rajab, Jami' al-'Ulum wa al-Hikam; Ibn Hajar, Fath al-Bari; Ibn Taymiyya, al-Iman