Sahih al-Bukhari
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
الْتَقَى آدَمُ وَمُوسَى، فَقَالَ مُوسَى لآدَمَ أَنْتَ الَّذِي أَشْقَيْتَ النَّاسَ وَأَخْرَجْتَهُمْ مِنَ الْجَنَّةِ قَالَ لَهُ آدَمُ أَنْتَ الَّذِي اصْطَفَاكَ اللَّهُ بِرِسَالَتِهِ، وَاصْطَفَاكَ لِنَفْسِهِ وَأَنْزَلَ عَلَيْكَ التَّوْرَاةَ قَالَ نَعَمْ. قَالَ فَوَجَدْتَهَا كُتِبَ عَلَىَّ قَبْلَ أَنْ يَخْلُقَنِي قَالَ نَعَمْ. فَحَجَّ آدَمُ مُوسَى "
Narrated Abu Huraira:
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."
Full reference and source
Sahih al-Bukhari USC-MSA web (English) : Vol. 6, Book 60, Hadith 260 Arabic : Book 65, Hadith 4736
View source on Sunnah.com (opens in a new tab)