Islamic rulings cannot be compared to each other. Each law has its own importance and should be fulfilled in accordance to its importance. However, it is more virtuous to reach get the first Takbeer with the Imam. Also, the place for performing Nafl worship is in the home. One should perform Nafl worship in one’s home. Whereas the masjid is the place for congregational worship. Therefore if there is any lesson or lecture after the congregational Salah in the masjid, then it is better to take part in them.