Start with this Du'a
Thanking someone: Jazaka-llahu khayra
جَزَاكَ اللَّهُ خَيْراً
Jazaka-llahu khayra.
“May Allah reward you with good.”
Jami at-Tirmidhi 2035 (hasan)
The Prophet ﷺ said that whoever says this to someone who has done them a kindness has praised them in the fullest way.