Praise be to Allah.
All of this is baseless. He did not fight the jinn and no such thing happened at all. Rather this is false and is one of the lies and fabrications that people have invented. Abu’l-‘Abbaas Shaykh al-Islam Ibn Taymiyah (may Allaah have mercy on him) stated this clearly and said: “It is a lie which has no foundation. It is one of the false stories fabricated by the liars.”