It is narrated from Abdullah bin Malik that the sister of Sayyiduna Uqbah bin Amir (may Allah be pleased with him) vowed that she would perform Hajj walking on foot with her hair loose (her head uncovered). So Sayyiduna Uqbah (may Allah be pleased with him) asked the Prophet (peace and blessings be upon him) about it, and he (peace and blessings be upon him) said: "Tell her to cover her head with a head-covering, to ride, and to fast three days."
This hadith also has a supporting narration (shahid) from the narration of Sayyiduna Ibn Abbas (may Allah be pleased with them both), which Imam al-Bazzar narrated in his Musnad.
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف عبيد الله بن زحر، وأصله في الصحيحين
Hadith Takhrij«عبيد الله بن زحر: صدوق يخطئ (التقريب)، وتكلم فيه غير واحد؛ وأبو سعيد الرعيني جعثل بن هاعان: صدوق (من الحفظ)؛ وقصة نذر أخت عقبة في الصحيحين (خ 1866، م 1644) دون ذكر الصيام.» «أخرجه صحيح البخاري برقم: 1767، وأخرجه صحيح مسلم برقم: 1644، وأخرجه سنن الترمذي برقم: 1544، وأخرجه سنن النسائي برقم: 3815، وأخرجه سنن أبي داود برقم: 3293، وأخرجه سنن ابن ماجه برقم: 2134، وأخرجه مسند أحمد برقم: 16840، وأخرجه سنن الدارمي برقم: 2334، وأخرجه مصنف ابن أبي شيبة برقم: 2، وأخرجه المطالب العالية بزوائد المسانيد الثمانية برقم: 1785، وأخرجه السنن الصغير للبيهقي برقم: 4082»