Hamd (praise) is more general and inclusive than shukr (thanks or gratitude), because thanks and gratitude are only a recompense for a favor, whereas hamd is both a recompense like thanks and is also spontaneous praise. Similarly, shukr may be more general and inclusive than hamd, because praise is expressed by the tongue, and thanks is expressed by tongue, heart and limbs.

Hamd
Imām Ibn Juzayy al-Kalbī