Would you tell your husband if one of his best friends tried to convince you your husband is gay?

I know my husband isn’t but one of his best friends has told me multiple times he thinks my husband is gay and that he married me as a disguise. This guy definitely says weird things at times so I don’t believe half of what he says. However I eventually ended up telling my husband and my husband was furious, feeling betrayed and now cut off the friendship. Should I have kept this to myself which could’ve saved their friendship, or was telling my husband the right thing to do? I felt like I was in a very awkward position. I got along well with his friend for my husband’s sake but clearly his friend has mental health issues going on. We felt sorry for the situation he’s put himself into and tried to help him even though he keeps getting into trouble.