Which two laws govern mortgage lender procedures when a mortgage lender rejects an applicant’s mortgage application based on a credit

Which two laws govern mortgage lender procedures when a mortgage lender rejects an applicant’s mortgage application based on a credit report?