Yahya related to me from Malik from Abu'z-Zinad from al-Araj from Abu Hurayra that the Messenger of Allah ﷺ said, "Adam and Musa argued and Adam got the better of Musa. Musa rebuked Adam, 'You are Adam who led people astray and brought them out of the Garden.' Adam said to him, 'You are Musa to whom Allah gave knowledge of everything and whom he chose above people with His message.' He said, 'Yes.' He said, 'Do you then censure me for a matter which was decreed for me before I was created?' "
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ تَحَاجَّ آدَمُ وَمُوسَى فَحَجَّ آدَمُ مُوسَى قَالَ لَهُ مُوسَى أَنْتَ آدَمُ الَّذِي أَغْوَيْتَ النَّاسَ وَأَخْرَجْتَهُمْ مِنَ الْجَنَّةِ فَقَالَ لَهُ آدَمُ أَنْتَ مُوسَى الَّذِي أَعْطَاهُ اللَّهُ عِلْمَ كُلِّ شَىْءٍ وَاصْطَفَاهُ عَلَى النَّاسِ بِرِسَالَتِهِ قَالَ نَعَمْ قَالَ أَفَتَلُومُنِي عَلَى أَمْرٍ قَدْ قُدِّرَ عَلَىَّ قَبْلَ أَنْ أُخْلَقَ