Yazid bin Aswad reported,

The Messenger of Allah ﷺ led the Fajr prayer at Mina, then turned around and noticed two men sitting behind the congregation. He called for them, and they were brought to him trembling with fear.He asked them, "What kept you from praying with the people?"They replied, "We had already prayed at our lodgings."He said, "Do not do that. If one of you has prayed at his lodging and then catches the prayer with the imam, let him pray it with him, for it will count as a voluntary prayer for him."

Ahmad 17475

Sahih

حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن يعلى بن عطاء

عن جابر بن يزيد بن الأسود عن أبيه قال

صلى رسول الله ﷺ الفجر بمنى فانحرف فرأى رجلين وراء الناس فدعا بهما فجيء بهما ترعد فرائصهما فقال ما منعكما أن تصليا مع الناس فقالا قد كنا صلينا في الرحال قال فلا تفعلا إذا صلى أحدكم في رحله ثم أدرك الصلاة مع الإمام فليصلها معه فإنها له نافلة

أحمد 17475صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Yazid bin Aswad Amiri
Numbering
Darussalam 17475
Ahmad 17475