From him, from Safwan, from Muhammad ibn Yahya al-Sabati, from Imam al-Ridha عليه السلام, peace be upon him, who said:
I asked Imam al-Ridha عليه السلام about the eclipse prayer, whether it is to be performed in congregation or individually. Imam عليه السلام said: “Whichever of the two you wish.”
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 3, p. 325