Dear ___________,
When I received an order today from _______________, I was delighted to learn that you had had referred them to me. Thank you so much for putting in a good word for me, and sending new clients my way. Each time you recommend my company, it’s a great compliment and very much appreciated.
Sincerely,
(YOUR NAME HERE)