كتاب الصلاة
2  
The Book of Prayer
Narrated Rafi' bin Khadij (RA):
We used to offer the Maghrib prayer with Allah's Messenger (ﷺ) and then one of us would go (out of the mosque) and be able to see the spot his would fall at. [Agreed upon].
وَعَنْ رَافِعِ بْنِ خَدِيجٍ قَالَ: { كُنَّا نُصَلِّي اَلْمَغْرِبَ مَعَ اَلنَّبِيِّ ‏- صلى الله عليه وسلم ‏-فَيَنْصَرِفُ أَحَدُنَا وَإِنَّهُ لَيُبْصِرُ مَوَاقِعَ نَبْلِهِ } مُتَّفَقٌ عَلَيْهِ 1‏ .‏


‏1 ‏- صحيح.‏ رواه البخاري (559)‏، ومسلم (637)‏.‏ وقال الحافظ في "الفتح" (2 /41)‏: "ومقتضاه المبادرة بالمغرب في أول وقتها، بحيث أن الفراغ منها يقع والضوء باق".‏

Sunnah.com reference : Book 2, Hadith 7
Arabic/English book reference : Book 2, Hadith 157