RESPA generally prohibits compensated referrals in connection with real estate settlements involving federally related mortgage loans.
They typically do not allowed referral compensation when connected with federal mortgages. 