As far as Islamic Shariah is concerned, it is preferable to perform TahajjudPrayer individually in the last part of the night. However, there is nothing wrong in performing it in congregation especially there is are benefit in it

On this, a detailed explanation was given by a prominent scholar, Sheikh `Abdul-MajeedSubh as those:

TahajjudTahajjudTahajjudhadith that Almighty Allah will be pleased of the behavior of two persons as one of them woke up in the middle of the night and offered prayer. Prophet Muhammad (peace and blessings be upon him) said, “Almighty Allah says, ‘O my angels, look at My servant. He stands in Prayer with no one seeing him except Me.’ Allah is also pleased due to the behavior of another man who, while unshielded, met an enemy and fought that enemy until he was killed.”

Moreover, Wael`Abdel-Mut`aalShihab, a Shariah researcher at Al-Azhar University, added,

Tahajjud Prayer entails great rewards, and a Muslim should be keen on being constant in performing it.
Tahajjud Prayer can be performed individually or in congregation. This is applicable to Ramadan and any other time of the year. Though the Prophet (peace and blessings be upon him) offered Tahajjudand other optional prayers individually and in congregation, in most times he offered them individually. So, offering Tahajjudindividually is preferable, and there is nothing wrong in performing it or any other optional prayers in congregation.

Here, I cite the hadith reported by Ibn `Abbas as a proof for this. Ibn `Abbas (may Allah be pleased with them) said, “I stayed overnight in the house of my aunt Maymunahbint Al-Harith (a wife of the Prophet) while the Prophet (peace and blessings be upon him) was there. The Prophet (peace and blessings be upon him) offered the `Ishaa‘ Prayer (in the mosque), returned home, and after having prayed four rak`ahs slept. Later on, he got up at night and then asked whether the boy (or he used a similar word) had slept? Then he got up for the Prayer and I stood up by his left side but he made me stand to his right and offered five rak`atfollowed by two more rak`ahs. Then, he slept … and then (after a while) he left for the (Fajr) Prayer” (Al-Bukhari).

Thus, the Prophet (peace and blessings be upon him) led Ibn `Abbas in congregational Tahajjud Prayer. He (peace and blessings be on him) also did this with other Companions.