in the following Hadith Moses(PBUH) blame Adam(PBUH) for eating from the tree but Adam(PBUH) responds that it wasn't his fault and Allah(SWT) pre-ordained it for him and he is not to be blamed, and then the prophet(PBUH) said: "This is how Adam came the better of Moses and Adam came the better of Moses." so this mean that Adam(PBUH) was right and he had no free will at all!
Abu Huraira reported Allah's Messenger ﷺ as saying: There was argument between Adam and Moses. Moses said to Adam: You are our father. You did us harm and caused us to get out of Paradise. Adam said to him: You are Moses. Allah selected you (for direct conversation with you) and wrote with His own Hand the Book (Torah) for you. Despite this you blame me for an act which Allah had ordained for me forty years before He created me. Allah's Apostle ﷺ said:. This is how Adam came the better of Moses and Adam came the better of Moses.
[Sahih Muslim 2652a](Sahih Muslim 2652a)