Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:16257a

Moses said, "O Lord, how did Adam thank You?" He replied, "He knew that was from me, so that was his gratitude."  

السيوطي:١٦٢٥٧a

"قَال مُوسَى: يَا رَبِّ كَيف شكَرَكَ آدَمُ؟ قَال: عَلم أن ذَلكَ منِّي, فكَانَ ذَلِكَ شُكْرَه".  

الحكيم عن الحسن مرسلًا