This is a weak and inconsistent narration. What clarifies this is the earlier narration reported by Ishaq ibn Ammar from Abu Abdullah عليه السلام, which mentions the story of the Commander of the Faithful عليه السلام with Miqdad. When Miqdad asked the Prophet (may Allah سبحانه وتعالى bless him and his family) about this, He صلى الله عليه وعلى آله وسلم said: "There is no harm in it." The same narrator has also reported that it is permissible to forgo ablution (wudu’) for madhy (pre-seminal fluid). This indicates that the intended meaning of the narration is a form of recommendation (istihbab).