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