Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Adam and Musa argued with each other. Musa said, 'Adam, you are our father. You disappointed us and caused us to be expelled from Paradise.'Adam replied, 'You are Musa, whom Allah chose for His direct speech and for whom He wrote with His own hand. Do you blame me for a matter that Allah decreed upon me forty years before He created me?'"The Prophet ﷺ then said, "So Adam prevailed over Musa in the argument. Adam prevailed over Musa."In the narration of Ibn Abu Umar and Ibn Abdah, one of them said, "wrote," and the other said, "wrote for you the Torah with His own hand."

Muslim 6742

Sahih

حدثني محمد بن حاتم وإبراهيم بن دينار وابن أبي عمر المكي وأحمد بن عبدة الضبي جميعا عن ابن عيينة واللفظ لابن حاتم وابن دينار قالا حدثنا سفيان بن عيينة عن عمرو عن طاوس قال سمعت

أبا هريرة يقول

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

مسلم 6742صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Decree
Chapter
Hajjaj between Adam and Musa, peace be upon them
Numbering
Darussalam 6742
Muslim 6742