Mishkat al-Masabih 1180
وَعَنْ أَنَسٍ قَالَ: كُنَّا بِالْمَدِينَةِ فَإِذَا أَذَّنَ الْمُؤَذِّنُ لِصَلَاةِ الْمَغْرِبِ ابْتَدَرُوا السَّوَارِيَ فَرَكَعُوا رَكْعَتَيْنِ حَتَّى إِنَّ الرَّجُلَ الْغَرِيبَ لَيَدْخُلُ الْمَسْجِدَ فَيَحْسَبُ أَنَّ الصَّلَاةَ قَدْ صُلِّيَتْ مِنْ كَثْرَةِ مَنْ يُصَلِّيهمَا. رَوَاهُ مُسلم
From Anas, who said: We were in Madinah, and when the muʾadhdhin called the adhan for the Maghrib prayer, they would hasten to the pillars and pray two rakʿahs, so that a stranger would enter the mosque and think that the prayer had already been prayed, because of the many who were praying them. Reported by Muslim.