That when the Prophet ﷺ was informed that the sister of 'Uqbah b. 'Amir had taken a vow to perform Hajj on foot, he said: Allah is not in need of her vow. So ask her to ride. Abu Dawud said: Sa'ib b. 'Arubah has transmitted a similar tradition. Khalid has also transmitted a similar tradition on the authority of 'Ikrimah from the Prophet ﷺ.
أَنَّ النَّبِيَّ ﷺ لَمَّا بَلَغَهُ أَنَّ أُخْتَ عُقْبَةَ بْنِ عَامِرٍ نَذَرَتْ أَنْ تَحُجَّ مَاشِيَةً قَالَ إِنَّ اللَّهَ لَغَنِيٌّ عَنْ نَذْرِهَا مُرْهَا فَلْتَرْكَبْ