The Fair Housing Act makes it illegal to harass persons because of race, color, religion, sex (including gender identity and sexual orientation), disability, familial status, or national origin. Among other things, this forbids sexual harassment. Learn more about sexual harassment here.