I came to the Messenger of Allah ﷺ while he was at Jam, and I asked him, "Do I have a valid Hajj?"He replied, "Whoever prayed this prayer with us in this place, then stood with us at this station until the Imam departs, having previously stood at Arafat by night or by day, his Hajj is complete and he has fulfilled its rites."
حدثنا روح حدثنا شعبة قال سمعت عبد الله بن أبي السفر قال سمعت الشعبي
أتيت رسول الله ﷺ وهو بجمع فقلت له هل لي من حج فقال من صلى معنا هذه الصلاة في هذا المكان ثم وقف معنا هذا الموقف حتى يفيض الإمام أفاض قبل ذلك من عرفات ليلا أو نهارا فقد تم حجه وقضى تفثه