There are many family loan agreement templates available online. You can find some examples from Forms.Legal and LoanBack.