This was told to me by a (fundamentalist Protestant) former Mason. Perhaps it was a policy of his lodge.
He was either lying, or he belonged to a rogue lodge, which, though claiming to be Masons, were NOT really affiliated with them. What he told you, is absolutely NOT in accord with Masonic rules.