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."
Sahih al-Bukhari Book 65, Hadith 258