Hadith Q3001

وَالدَّلِيلُ ‏[‏عَلَى‏]‏ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّمَا أَرَادَ بِقَوْلِهِ‏:‏ ‏"‏ لَا يَنْفِرَنَّ أَحَدٌ حَتَّى يَكُونَ آخِرَ عَهْدِهِ بِالْبَيْتِ ‏"‏، خَلَا الْحَيِضَ، بِذِكْرِ لَفْظَةٍ عَامٌّ مُرَادُهَا خَاصٌّ فِي ذِكْرِ الْحَيْضِ‏.‏
And the explanation of the evidence that the statement of the Prophet (ﷺ), "No one should return without performing the last circumambulation (Tawaf) of the Ka'bah," refers to people other than menstruating women, but in the hadith narrated in this regard, the mention of the menstruating woman is general, while the intent is specific.
Hadith Reference صحيح ابن خزيمه / جماع أبواب ذكر أفعال اختلف الناس فى إباحته للمحرم، نصت سنة النبى صلى الله عليه وسلم أو دلت على إباحتها / Q3001