In most states, real estate law prevents people from being discriminated against because of race, gender, age, or national origin. If you feel you've been discriminated against when you tried to purchase a particular piece of property, contact an attorney and discuss your situation with them. You may have legal recourse.