TABARANI 15022:
from Tamshī Ḥāfiyah Ghayr Mukhtamirah Fasaʾal ʿUqbah —
[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."
الطبراني ١٥٠٢٢:
عن تمسهي حافيه غير مختمره فسءل عقبه —
أَنْ تَمْشِيَ حَافِيَةً غَيْرَ مُخْتَمِرَةٍ فَسَأَلَ عُقْبَةُ عَنْ ذَلِكَ النَّبِيَّ ﷺ فَقَالَ رَسُولُ اللهِ ﷺ «إِنَّ اللهَ غَنِيٌّ عَنْ شَقَاءِ أُخْتِكَ فَمُرْهَا فَلْتَخْتَمِرْ وَلْتَرْكَبْ وَلْتَصُمْ ثَلَاثَةَ أَيَّامٍ»
hadithunlocked.com