[Machine] To walk barefoot without being menstruating, Uqbah asked the Prophet ﷺ about this matter. The Messenger of Allah ﷺ replied, "Indeed, Allah is self-sufficient from your sister's distress. Therefore, instruct her to become menstruating, perform Ghusl (ritual bath), and fast for three days."
أَنْ تَمْشِيَ حَافِيَةً غَيْرَ مُخْتَمِرَةٍ فَسَأَلَ عُقْبَةُ عَنْ ذَلِكَ النَّبِيَّ ﷺ فَقَالَ رَسُولُ اللهِ ﷺ «إِنَّ اللهَ غَنِيٌّ عَنْ شَقَاءِ أُخْتِكَ فَمُرْهَا فَلْتَخْتَمِرْ وَلْتَرْكَبْ وَلْتَصُمْ ثَلَاثَةَ أَيَّامٍ»