Hi,
Welcome back to RF, I'll try to explain the islamic perspective in regards to free will.
As Muslims we believe that we humans have free will, we can choose our path. We also believe in a concept called divine decree( al qadar)
This is often referred to as the Islamic version of pre-destination, even though it's not exactly the same. When we say pre-destination, people automatically think of everything being pre-determined, when it comes to the Islamic concept known as divine decree(qadr)in Arabic, this definition doesn’t really apply to it.
According to Islam, all of our actions and deeds have already been recorded and written down by God, and this recording has been done even before we were ever created. According to divine decree, everything that happens only happens by the will of God, therefore God has willed everything we are doing/have done. Allah mentions this in the verse you quoted in one of your posts.
"No calamity befalls on the earth or in yourselves but it is inscribed in the Book of Decrees (Al Lawh Al Mahfooz) before We bring it into existence. Verily, that is easy for Allaah” [al-Hadeed 57:22]
I don't think the islamic concept of divine decree contradicts free will.
We believe God is all-powerfull and all-knowing. So if God has these attributes, and possesses these attributes to perfection, which is what we expect from God, then He would know everything that happens before they happen.God doesn't need to wait until you do something for Him to know about it. If this was the case, that God didn’t know what you would do until you do it, this would then mean that God is not all knowing, and if God is not all knowing and is not perfect in His knowledge then He cannot be God. So based on the fact that God’s knowledge is perfect, that He knows everything, this means He also knows what you will do before you even do it because his knowledge is perfect.
For example God knew you would write a thread before you did based on His perfect attribute of being all knowing at the same time He didn't force or compel you to write it. You by your own free will and choice decided to write this thread. God simply knew you were going to write this thread because
He is all knowing, God didn’t need to wait until you posted it to learn about it.
Even though God has already recorded everything that will happen, again this is based on His perfect attribute of knowledge, you yourself don't know what is recorded. In my opinion people cannot use this as an excuse that their free will is somehow determined and they can’t really do anything because what will happen will happen. True, what will happen will happen, but you don’t know what will happen.What happens is based on our choices, we can’t put our hands up and say "well my actions have already been recorded so who cares" because we have no idea about our future actions, at the end of the day it’s our choices that are being made that lead to the actions we are doing.
So what is recorded, is based on what we chose to do, we were not forced to do it, we ourselves chose to commit that action, but God in His perfect knowledge, knew we would make that action and take that choice before we did either and already recorded it down.
For example let's say you managed to trime travel into the future. You managed to time travel to 40 years from now, to the year 2057 and you decided to record what people were doing and what you saw. Let's say you travelled back to 2017
and you had that book in which you recorded what the people of 2057 were doing, would that mean that a person alive now who would also be alive in 2057, the same person you managed to record seeing what they were doing , has no free will just because you have catched a small glimpse into their future?
I personally think that just because you know or saw what somebody was going to do, and you recorded it down, doesn’t infringe that persons free will or choice, like I said before it was the persons choice that eventually led to their action.