Jami` at-Tirmidhi, Book 20, Hadith 23 (Tirmidhi 1580)

Narrated 'Uqbah bin 'Amir:

"I said: 'O Messenger of Allah! My sister vowed that she would walk to the House barefoot and without Khimar (covering).' The Prophet (ﷺ) said: 'Verily Allah will not do anything with the misery of your sister. She should ride, and cover, and fast three days.'"