Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Adam and Musa met. Musa said to Adam, 'Are you the one who brought misery upon mankind and caused them to be expelled from Paradise?'Adam replied, 'Are you the one whom Allah chose for His message, selected for Himself, and to whom He revealed the Torah?'Musa said, 'Yes.'Adam asked, 'Did you find it decreed against me before He created me?'Musa said, 'Yes.'So Adam prevailed over Musa in the argument."

Azami 1060

Sahih

عن أبي هريرة

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

الأعظمي 1060صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the divine decree and predestination
Section
Hajjaj between Adam and Musa, peace be upon them
Numbering
Jami al-Kamil 1060 (2nd edition)
Azami 1060