It is reported that ʿAlī b. Abī Ṭālib – Allāh be pleased with him – said:

Blessings arrive with gratitude [to Allāh], and gratitude is connected with more [blessings], and the two are tied together: more blessings from Allāh will never stop unless gratitude from the servant stops.

Ibn Abī Al-Dunyā, Al-Shukr article 18.