Sahih al-Bukhari Book 65, Hadith 259
When Allah's Messenger (ﷺ) arrived at Medina, he found the Jews observing the fast on the day of 'Ashura'
(10th of Muharram). The Prophet (ﷺ) asked them (about it) and they replied, "This is the day when Moses
became victorious over Pharaoh." The Prophet (ﷺ) said (to the Muslims), "We are nearer to Moses than
they, so fast on this day."
Allah's Messenger (ﷺ) said, "Adam and Moses met, and Moses said to Adam "You are the one who made people miserable and turned them out of Paradise." Adam said to him, "You are the one whom Allah selected for His message and whom He selected for Himself and upon whom He revealed the Torah." Moses said, 'Yes.' Adam said, "Did you find that written in my fate before my creation?' Moses said, 'Yes.' So Adam overcame Moses with this argument."
The Prophet (ﷺ) said, "Moses argued with Adam and said to him (Adam), 'You are the one who got the people out of Paradise by your sin, and thus made them miserable." Adam replied, 'O Moses! You are the one whom Allah selected for His Message and for His direct talk. Yet you blame me for a thing which Allah had ordained for me before He created me?." Allah's Messenger (ﷺ) further said, "So Adam overcame Moses by this Argument."