Who has the most right to be imam
     If two or more are equal in this, then it is the one who    has the most knowledge of the sunnah. If they are equal    in that, then it is the one who performed the migration    first. If they are equal in that, then it should be the    eldest.
         Abu Sa'id narrates that the Prophet said: "If you are    three in number, then one of you should be the imam. And    the one who has the most right to it is the one who is    the most versed in the Qur'an." This is related by Ahmad,    Muslim, and an-Nasa'i. The meaning of "most versed in the    Qur'an" is the one who has more of the Qur'an memorized.
    This interpretation is based on the hadith from Amr ibn    Salamah which says: "Your imam should be the one who is    most versed in the Qur'an."
         Ibn Mas'ud reports that the Prophet sallallahu alehi    wasallam said: "The imam of a people should be the one    who is the most versed in the Book of Allah. If they are    equal in their recital, then the one who is most    knowledgeable of the sunnah. If they are equal in the    sunnah, then [it is] the one who migrated first. If they    are equal in that, then [it is] the eldest. And no man    should be an imam for another man if the other holds    authority [i.e., a leader in any capacity or ruler of the    Muslim people]. And one should not occupy his place of    honor in his house without his permission." In another    narration it is stated: "No man should be the imam for    another while with the other's family or where the other    is in authority." This is related by Ahmad and Muslim.
         Sa'id ibn Mansur says: "A person should not be an imam    for another where the other is in authority except with    his permission." The meaning of this is that the one in    authority, owner of a house, leader of a meeting, and so    on, has more right than others to be the imam if he has    not granted the permission to any of the others. Abu    Hurairah reports that the Prophet sallallahu alehi    wasallam said: "It is not allowed for a man who believes    in Allah and the last day to be an imam for a people,    except with their permission, nor may he specifically    make supplications for himself without including them. If    he does so, he is disloyal to them." This is related by    Abu Dawud.
    
Whose imamate is acceptable
     The imamate of all the following is acceptable: a    discerning boy, a blind person, a standing person for    those who are sitting, a sitting person for those who are    standing, a person praying fard for people who are    praying nafl, a person praying nafl for people who are    praying fard. Likewise, a person who has performed    ablution can be imam for people who have performed    tayammum, as can be a person who has performed tayammum    for people who have performed ablution, a traveler for    the resident, a resident for the travelers, and a less    qualified person for people who are more qualified.
         'Amr ibn Salamah led his people in salah while he was six    or seven years old. The Messenger of Allah sallallahu    alehi wasallam twice appointed Ibn Umm Maktum, a blind    man, to lead the people of Medinah in prayer. The    Messenger of Allah, during his last illness, prayed    behind Abu Bakr in a sitting position. And he prayed in    his house in a sitting position while those behind him    were standing. He pointed to them to sit and when he had    finished the prayer he said: "The imam has been appointed    to be followed. If he goes into ruku', then make ruku'.
    When he raises his head, raise your head. If he prays    sitting, then pray sitting behind him."
         Mu'adh would pray 'isha with the Prophet sallallahu alehi    wasallam and then return to his people and lead them in    the same prayer, it being nafl for him and fard for the    others.
         Muhjan ibn al-Adra' reports: "I came to the Messenger of    Allah in the mosque and they prayed and I did not. He    said to me: 'Why didn't you pray?' I said: 'O Messenger    of Allah, I prayed in my place and then came here.' He    then said: 'When you come [to the mosque], pray with them    and make it supererogatory."'         The Messenger of Allah saw a man praying by himself and    said: "Who will give charity to this person by praying    with him?" 'Amr ibn al-'Aas led others in prayer when he    had made tayammum only and the Prophet approved of it.
         The Prophet sallallahu alehi wasallam, after the conquest    of Makkah, led the people in prayer by praying two rak'at    (except for maghrib) and said: "O people of Makkah, stand    and pray the last two rak'at as we are travelers."
         If a traveler prays behind a resident, he must complete    the whole four rak'at even if he only prayed part of a    rak'ah behind the resident imam. Ibn 'Abbas was asked:    "Why is the traveler to pray two rak'at if he prays by    himself and four rak'at if he prays behind a resident?"    He answered: "That is the sunnah." In another version,    Musa ibn Salamah said to him: "If we pray with you, we    pray four rak'at otherwise we pray two?" He told him:    "That is the sunnah of Abu al-Qasim [the Prophet]." This    is related by Ahmad.
    
Help us build Quranic citations related to this hadith. Get connected with our Contact Us option.
"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari