Sahih Bukhari Volume 9, Book 93, Hadith Number 606.

Narrated By Abu Huraira : The Prophet said, “Adam and Moses debated with each other and Moses said, ‘You are Adam who turned out your offspring from Paradise.’ Adam said, “You are Moses whom Allah chose for His Message and for His direct talk, yet you blame me for a matter which had been ordained for me even before my creation?’ Thus Adam overcame Moses.”