The correct preposition is "to," so the sentence should be "He was married to a rich family". This indicates a marital relationship with someone from a wealthy family.
He was married ______ a rich family.
Review the verified answer and explanation for this ASF Airports Security Force past-paper question on CampusFin.