'Uqbah bin 'Amir told him, that his sister vowed to walk, barefoot and bareheaded, and he mentioned that to the Messenger of Allah (ﷺ) He said: "Order her to ride and to cover her head, and to fast for three days."
Sunan Ibn Majah Book 11, Hadith 45