The Messenger of Allah ﷺ mentioned about Safiyyah, daughter of Huyayy. He was told that she had menstruated. The Messenger of Allah ﷺ said: She may probably detain us. They (the people) said: She has performed the obligatory circumambulation (Tawaf al-Ziyarah). He said: If so, there is no need (of staying any longer).
أَنَّ رَسُولَ اللَّهِ ﷺ ذَكَرَ صَفِيَّةَ بِنْتَ حُيَىٍّ فَقِيلَ إِنَّهَا قَدْ حَاضَتْ فَقَالَ رَسُولُ اللَّهِ ﷺ لَعَلَّهَا حَابِسَتُنَا فَقَالُوا يَا رَسُولَ اللَّهِ إِنَّهَا قَدْ أَفَاضَتْ فَقَالَ فَلاَ إِذًا