Volume 3, Book 32, Number 227:
Narrated Abu Huraira (radiallaahu `anhu):
Allah’s Apostle (sallallaahu `alayhi wasallam) said, “Whoever prayed at night the whole month of Ramadan out of sincere Faith and hoping for a reward from Allah, then all his previous sins will be forgiven.” Ibn Shihab (a sub-narrator) said, “Allah’s Apostle (sallallaahu `alayhi wasallam) died and the people continued observing that (i.e. Nawafil offered individually, not in congregation), and it remained as it was during the Caliphate of Abu Bakr (radiallaahu `anhu) and in the early days of ‘Umar (radiallaahu `anhu)’s Caliphate.” ‘Abdur Rahman bin ‘Abdul Qari said, “I went out in the company of ‘Umar bin Al-Khattab (radiallaahu `anhu) one night in Ramadan to the mosque and found the people praying in different groups. A man praying alone or a man praying with a little group behind him. So, ‘Umar (radiallaahu `anhu) said, ‘In my opinion I would better collect these (people) under the leadership of one Qari (Reciter) (i.e. let them pray in congregation!)’. So, he made up his mind to congregate them behind Ubai bin Ka’b (radiallaahu `anhu). Then on another night I went again in his company and the people were praying behind their reciter. On that, ‘Umar (radiallaahu `anhu) remarked, ‘What an excellent Bid’a (i.e. innovation in religion) this is; but the prayer which they do not perform, but sleep at its time is better than the one they are offering.’ He meant the prayer in the last part of the night. (In those days) people used to pray in the early part of the night.”
al-Bukhaari (2010) narrated that ‘Abd al-Rahmaan ibn ‘Abd al-Qaari said: I went out with ‘Umar ibn al-Khattaab (may Allaah be pleased with him) to the mosque one night in Ramadaan, and the people were scattered, each man praying by himself. Some men would pray and have groups of people behind them following them. ‘Umar said: “I think that if I unite all these people with one reader, it will be better. Then he resolved to gather them behind Ubayy ibn Ka’b.
Ibn al-Teen and others said that ‘Umar based this decision on the Prophet’s approval of those who prayed with him on those nights. Although he disliked that for them, that was based on the fear that it might be made obligatory for them. When the Prophet (peace and blessings of Allaah be upon him) died, there was no longer any fear of that happening, and ‘Umar thought, because of the potential division that might arise from people praying separately, and because uniting them behind one reader is more motivating for many people. The majority agreed with ‘Umar’s decision. End quote from Fath al-Baari.
Al-Nawawi said in al-Majmoo’, 3/526:
Praying Taraweeh is Sunnah according to scholarly consensus… It is permissible to offer this prayer alone or in congregation, but which is better? There are two well-known opinions on this matter. The correct view according to the consensus of our companions is that praying it in congregation is better. The second view is that it is better to pray it individually.
Our companions said: The difference of opinion has to do with one who has memorized the Qur’aan; there is no fear that he may become lazy and neglect it if he prays on his own, and the congregation in the mosque is not going to be affected if he stays away. But if one of these factors is absent, then praying in congregation is better, and there is no difference of scholarly opinion on this point.
The author of al-Shaamil said:
Abu’l-‘Abbaas and Abu Ishaaq said that praying Taraweeh in congregation is better than praying it individually, because of the consensus of the Sahaabah and the consensus of the scholars of the regions on this point. End quote.
Ibn al-Mubaarak, Ahmad and Ishaaq favoured praying with the imam during the month of Ramadaan.
It says in Tuhfat al-Ahwadhi:
In the book on night prayer (qiyaam): it was said to Ahmad ibn Hanbal: Do you prefer a man to pray with the people in Ramadaan or on his own? He said: He should pray with the people. He said: And I prefer that he should pray with the imam and pray Witr with him. The Prophet (peace and blessings of Allaah be upon him) said: “If a man prays qiyaam with the imam until he finishes, it will be recorded as if he spent the rest of the night (in prayer).” Ahmad (may Allaah have mercy on him) said: “He should pray with the people until he prays Witr with them, and he should not leave until the imam leaves. Abu Dawood said: I saw him (Imam Ahmad) – in the month of Ramadaan, praying Witr with his imam, except on one night when I did not attend. Ishaaq (may Allaah have mercy on him) said: I said to Ahmad: Is praying qiyaam in Ramadaan in congregation dearer to you or praying on one’s own? He said: I prefer that this prayer should be offered in congregation, so as to revive the Sunnah. And Ishaaq said the same. End quote.
See al-Mughni, 1/457.
Shaykh Ibn ‘Uthaymeen said in Majaalis Shahr Ramadaan, p. 22:
At first the Prophet (peace and blessings of Allaah be upon him) used to pray Taraweeh in congregation in the mosque, then he stopped because he feared that it might be made obligatory upon his ummah…
Then he quoted the two ahaadeeth quoted above. Then he said:
No man should keep away from Taraweeh prayer lest he misses out on the reward for it. And he should not leave until the imam finishes Taraweeh and Witr, so that he may attain the reward of spending the whole night in prayer. End quote.
Al-Albaani said in Qiyaam Ramadaan:
Rather it (praying Taraweeh in congregation) is better than praying it alone, because the Prophet (peace and blessings of Allaah be upon him) did it himself and explained its virtue.
Rather he did not lead them in praying it in congregation for the rest of the month because he feared that praying at night during Ramadaan might be made obligatory for them, and they would be unable to do that, as it says in the hadeeth of ‘Aa’ishah which is narrated in al-Saheehayn and elsewhere. This concern no longer applied after the Prophet (peace and blessings of Allaah be upon him) died and Allaah had completed Islam. Hence the reason for not praying in congregation when offering night prayers in Ramadaan was no longer present, and the previous ruling remained in effect, which is that it is prescribed to offer this prayer in congregation. Hence ‘Umar (may Allaah be pleased with him) revived it, as it says inSaheeh al-Bukhaari and elsewhere. End quote.
It says in al-Mawsoo’ah al-Fiqhiyyah (27/138):
From the time of ‘Umar (may Allaah be pleased with him), the Rightly-Guided Caliphs and the Muslims regularly offered Taraweeh prayer in congregation. ‘Umar (may Allaah be pleased with him) is the one who united the people in offering the prayer behind a single imam.
Asad ibn ‘Amr ibn Abi Yoosuf said: I asked Abu Haneefah about Taraweeh and what ‘Umar did. He said: Taraweeh is a confirmed Sunnah, and ‘Umar did not base his decision on speculation and he was not introducing bid’ah (an innovation). He did not enjoin it except because of what he knew from the Messenger of Allaah (peace and blessings of Allaah be upon him). ‘Umar introduced this and gathered the people behind Ubayy ibn Ka’b and he offered this prayer in congregation, at the time when the Sahaabah – the Muhaajireen and Ansaar – were still alive, and no one among them objected to that, rather they helped him and agreed with him, and also enjoined it. End quote.