I have heard from some Sunni Muslims that we have a Hadith about a bearded woman killing Imam al Mahdi. Is this true? If not do we have enough ahadith that tell us how the imam dies?

The chain of the hadith is weak, so we cannot verify it. We don’t know how the Imam (a) will die.