The Prophet ﷺ instructed the weaker members of Bani Hashim to leave Muzdalifah at night.
أخبرنا أبو داود قال حدثنا أبو عاصم وعفان وسليمان عن شعبة عن مشاش عن عطاء عن ابن عباس
أن النبي ﷺ أمر ضعفة بني هاشم أن ينفروا من جمع بليل
Sourcing, its chain of transmission is sahih. Ahmad narrated it, 1/212, from the hadith of Ata bin Abu Rabah, through the same chain, and Abu Yaala, no. 6734.