Abu Hurairah reported,

The Prophet ﷺ said, "Adam and Musa argued with each other.Musa said to him, 'Adam, you are our father. You disappointed us and caused us to be expelled from Paradise.'Adam said to him, 'Musa, Allah chose you to speak with directly and inscribed for you with His own hand. Do you blame me for a matter that Allah decreed for me forty years before He created me?'So Adam outargued Musa, Adam outargued Musa."In the narration of Ibn Abu Umar and Ibn Abdah, one of them said, "inscribed," while the other said, "wrote the Torah for you with His hand."

Azami 651

Sahih

عن أبي هريرة

عن النبي ﷺ قال: احتج آدم وموسى، فقال له موسى: يا آدم أنت أبونا خيبتنا وأخرجتنا من الجنة. قال له آدم: يا موسي اصطفاك الله بكلامه، وخط لك بيده، أتلومني على أمر قدره الله علي قبل أن يخلقني بأربعين سنة، فحج آدم موسى، فحج آدم موسى وفي حديث ابن أبي عمر وابن عبدة قال أحدهما: خط. وقال الآخر: كتب لك التوراة بيده.

الأعظمي 651صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the scriptures sent down from Allah عز وجل
Section
Torah, that Allah the Exalted wrote it with His hand and revealed it to His Prophet and the one He spoke to, Musa عليه السلام
Numbering
Jami al-Kamil 651 (2nd edition)
Azami 651