What is the ruling regarding praying in a mosque near one's residence where the congregation cannot be established without one's presence?

Chapter on Imamate and Congregational Prayer

Al-Mughni

Book of Prayer

Book 3 · Issue 3 · Bab 10

Open in Qurani

Primary text

It is preferable to perform the prayer in a mosque, whether nearby or not, if the congregation cannot be established there except through one's attendance. This is because one animates that mosque by establishing the congregation and facilitates the prayer for those who attend there.