Sayyiduna Jabir (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "There are two kinds of leaders who are not in reality leaders: a woman who goes for Hajj with some people and then gets her menses before performing the Tawaf al-Ziyarah of the House; her companions then have no right to depart without asking her permission; and a man who accompanies a funeral and offers the funeral prayer; he has no right to go back until he takes permission from the family of the deceased."
Imam al-Bazzar recorded this narration; he says: In these words
this narration is not known to us with a better chain than this one.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الحج / 5677