OK, a girl said he said that. Maybe true, probably is but maybe not. Why don't you ask the principal for a meeting with him/her and the teacher? If the teacher denies saying that ask for the girl to come in and verify it. A teacher by rights would be severely disciplined if not fired for putting that out to another student whether true or not. And I'm assuming it isn't true.