Abu Hurairah (r.a) narrated that the Messenger (PBUH) said:
Adam and Moses argued with each other. Moses said to Adam: 'Your sin expelled you from Paradise.' Adam said: 'You are Moses whom Allah selected as His messenger and as the one to whom He spoke directly. Yet you blame me for a thing which had already been written in my fate before my Creation?
Allah's Prophet Muhammad (PBUH) said twice,
So Adam outclassed Moses. (Sahih Bukhari).
Umar Ibn Al Khattab also narrated that the Prophet Muhammad (PBUH) said:
Moses (PBUH) said: 'My Lord! May I see Adam who removed us and himself from the Paradise?
So Allah made him see Adam and he said to him:
Are you Adam?
And he said
Were you the one in Whom Allah breathed His spirit and before whom He bowed His angels and to whom He taught the names of all things?
So Moses said:
What made you remove us and yourself from Paradise.?
Who are you?
I am Moses.
So you are Moses the prophet of the Children of Israel. Were you the one Allah spoke to directly?
Why do you blame me for a matter which Allah had predestined?
So Allah’s Prophet Muhammad (PBUH) said twice.
Adam outclassed Moses. (Sahih al Bukhari)
Source: Stories of the Prophets by Ibn Kathir