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?." Messenger of Allah ﷺ further said, "So Adam overcame Moses by this Argument."
عَنِ النَّبِيِّ ﷺ قَالَ حَاجَّ مُوسَى آدَمَ فَقَالَ لَهُ أَنْتَ الَّذِي أَخْرَجْتَ النَّاسَ مِنَ الْجَنَّةِ بِذَنْبِكَ وَأَشْقَيْتَهُمْ قَالَ قَالَ آدَمُ يَا مُوسَى أَنْتَ الَّذِي اصْطَفَاكَ اللَّهُ بِرِسَالَتِهِ وَبِكَلاَمِهِ أَتَلُومُنِي عَلَى أَمْرٍ كَتَبَهُ اللَّهُ عَلَىَّ قَبْلَ أَنْ يَخْلُقَنِي أَوْ قَدَّرَهُ عَلَىَّ قَبْلَ أَنْ يَخْلُقَنِي قَالَ رَسُولُ اللَّهِ ﷺ فَحَجَّ آدَمُ مُوسَى