Sunan al-Darimi 816
أَخْبَرَنَا يَزِيدُ بْنُ هَارُونَ، حَدَّثَنَا حُمَيْدٌ، عَنْ عَمَّارِ بْنِ أَبِي عَمَّارٍ، قَالَ: كَانَ ابْنُ عَبَّاسٍ ﵄ ، «مِنْ أَشَدِّ النَّاسِ قَوْلًا فِي الْمُسْتَحَاضَةِ»، ثُمَّ رَخَّصَ بَعْدُ: أَتَتْهُ امْرَأَةٌ فَقَالَتْ: أَدْخُلُ الْكَعْبَةَ وَأَنَا حَائِضٌ؟. قَالَ: «نَعَمْ وَإِنْ كُنْتِ تَثُجِّينَهُ ثَجًّا، اسْتَدْخِلِي، ثُمَّ اسْتَثْفِرِي، ثُمَّ ادْخُلِي»
Yazid ibn Harun informed us; Humayd narrated to us, from ʿAmmar ibn Abi ʿAmmar, who said: Ibn ʿAbbas, may Allah be pleased with them both, was one of the strictest of people in what he said about the woman with istihadah, then later he granted a concession. A woman came to him and said: "May I enter the Kaʿbah while I am menstruating?" He said: "Yes, even if it is gushing from you. Put in a pad, then bind yourself, then enter."