Anas bin Malik reported,

We were in Medina, and when the muezzin called the adhan for the Maghrib prayer, the people would rush to the pillars and pray two rakats each. A stranger entering the mosque would think that the prayer had already been performed, because of the great number of people praying these two rakats.

Azami 2457

Sahih

عن أنس بن مالك قال

كنا بالمدينة، فإذا أذن المؤذن لصلاة المغرب ابتدروا السواري، فيركعون ركعتين ركعتين، حتى إن الرجل الغريب ليدخل المسجد فيحسب أن الصلاة قد صليت من كثرة من يصليهما.

الأعظمي 2457صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Sunnah prayers and voluntary prayers in general
Section
Two rakahs before Maghrib
Numbering
Jami al-Kamil 2457 (2nd edition)
Azami 2457