Sunan Abi Dawud, Book 22, Hadith 52 (Abu Dawud 3294)
Narrated Uqbah ibn Amir:
Uqbah consulted the Prophet (ﷺ) about his sister who took a vow to perform hajj barefooted and bareheaded. So he said: Command her to cover her head and to ride, and to fast three days.