Al-Kāfi

Hadith 1314
imam-ridhaahl-al-baytgenerosity
8ـ عَلِيُّ بْنُ مُحَمَّدٍ عَنْ سَهْلِ بْنِ زِيَادٍ عَنْ عَلِيِّ بْنِ الْحَكَمِ عَنْ دِعْبِلِ بْنِ عَلِيٍّ أَنَّهُ دَخَلَ عَلَى أَبِي الْحَسَنِ الرِّضَا (عَلَيْهِ السَّلام) وَأَمَرَ لَهُ بِشَيْ‏ءٍ فَأَخَذَهُ وَلَمْ يَحْمَدِ الله قَالَ فَقَالَ لَهُ لِمَ لَمْ تَحْمَدِ الله قَالَ ثُمَّ دَخَلْتُ بَعْدُ عَلَى ابي جعفر (عَلَيْهِ السَّلام) وَأَمَرَ لِي بِشَيْ‏ءٍ فَقُلْتُ الْحَمْدُ لله فَقَالَ لِي تَأَدَّبْتَ.
8. Ali ibn Muhammad has narrated from Salj ibn Ziyad from Ali ibn al-Hakam who has said the following. “Di‘bil ibn Ali once went to see abu al-Hassan al-Rida (a.s.) and he ordered his people to give him a certain gift but he did thank Allah.” The narrator has said that the Imam (a.s.) said to him, “Why did you not thank Allah?” The narrator has said that then I went to see abu Ja‘far (a.s.) and ordered his people to give a gift and I said, “All praise belongs to Allah.” The Imam (a.s.) said, “You just demonstrated your discipline.”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī