Muwatta Imam Malik Book of Hajj, Hadith 125
Yahya related to me from Malik from Abu'z Zubayr al-Makki that Abu Maiz al-Aslami Abdullah ibn Sufyan told him that once, when he was sitting with Abdullah ibn Umar, a woman came to ask him for an opinion. She said, "I set out intending to do tawaf of the House, but then, when I got to the gate of the Mosque, I started bleeding, so I went back until it had left me. Then I set out again, and then, when I got to the gate of the mosque, I started bleeding, so I went back until it had left me. Then I set off again, and then, when I got to the gate of the mosque, I started bleeding." Abdullah ibn Umar said, "That is only an impulse from Shaytan. Do ghusl, then bind your private parts with a cloth and do tawaf."
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ أَبِي الزُّبَيْرِ الْمَكِّيِّ، أَنَّ أَبَا مَاعِزٍ الأَسْلَمِيَّ عَبْدَ اللَّهِ بْنَ سُفْيَانَ، أَخْبَرَهُ أَنَّهُ، كَانَ جَالِسًا مَعَ عَبْدِ اللَّهِ بْنِ عُمَرَ فَجَاءَتْهُ امْرَأَةٌ تَسْتَفْتِيهِ فَقَالَتْ إِنِّي أَقْبَلْتُ أُرِيدُ أَنْ أَطُوفَ بِالْبَيْتِ حَتَّى إِذَا كُنْتُ بِبَابِ الْمَسْجِدِ هَرَقْتُ الدِّمَاءَ فَرَجَعْتُ حَتَّى ذَهَبَ ذَلِكَ عَنِّي ثُمَّ أَقْبَلْتُ حَتَّى إِذَا كُنْتُ عِنْدَ بَابِ الْمَسْجِدِ هَرَقْتُ الدِّمَاءَ فَرَجَعْتُ حَتَّى ذَهَبَ ذَلِكَ عَنِّي ثُمَّ أَقْبَلْتُ حَتَّى إِذَا كُنْتُ عِنْدَ بَابِ الْمَسْجِدِ هَرَقْتُ الدِّمَاءَ . فَقَالَ عَبْدُ اللَّهِ بْنُ عُمَرَ إِنَّمَا ذَلِكَ رَكْضَةٌ مِنَ الشَّيْطَانِ فَاغْتَسِلِي ثُمَّ اسْتَثْفِرِي بِثَوْبٍ ثُمَّ طُوفِي .