We have to make an active choise in what we believe in, In case Adam and Eve would not have chosen to eat the forbidden fruit we all would be in paradise now. Now we have to confront our dark side and daily choose the good side in us.
There is no Allah. Yahweh, therefore the question is redundant.
Or is it?
Monotheisms are not truly associated with free will. Islam and much of Christianity demand belief in their deities. Hardly Free Will, and please do not offend both my education and intelligence by insisting it isn't true.
As an atheist but also as a person who likes to think about philosophical questions, I say this: to keep an interesting question going (and free will/determinism is a central topic in philosophy) even the atheist can say, "I do not believe in the divine or the supernatural, but let us say, 'What if there is an omnipotent being? Why would that being allow free will? Also, what kind of free will? How much free will?'
In those religions that focus on good and evil, then obviously choice is important. The PKG god (all Powerful, all Knowing, all Good) might not want to mechanistically direct some souls to punishment and some to reward based on randomness. This is the difference between the concept of a non-predictable future vs. the concept of fate/destiny = deterministic future.
Of course we must admit we might not be able to comprehend what is good or evil to a supreme intelligence so unlike our own; perhaps all of creation is like a pre-set game, or a mechanical clock, and all outcomes have been designed from the beginning and are predictable (though quantum randomness seems to suggest the future is not predictable). Then the universe is just an elaborate model with a designated motion through time -- interesting perhaps, but agreeable to creatures who think they have free will because we would then be more like an interesting object in a museum.
In the deterministic future, nobody can be praised or blamed. You are what you were designed to be. Even our thoughts -- in our thoughts we might hate the serial murderer even though it is not his fault he is a serial murderer, because our attitude toward him is also deterministic.
We prefer free will because then a god does seem to be PKG, a god who leaves our fates up to our reasoned choices. Then we are not an elaborate game to be watched in the museum. In fact though, we too enjoy those games. They are called "stories." We read a novel or watch a film and enjoy it even though the world of the novel/film is deterministic . So are both things perfectly good? The deterministic universe (the story of its and our lives) and the novel? Is that what a god who granted NO free will would be like: the author of a good though mechanistic story?
If we have free will, how much and how important is it? I cannot become a dolphin, I cannot choose to be born in the 24th century, I cannot travel to China in 5 minutes, and did not chose my time, parents, cultural region, etc. Our world seems to be 99.99999999% determined! How meaningful is the free will that remains to us? I guess if I chose to turn left and death is beyond that door, whereas the righthand door offered life, that tiny amount of free will is very important indeed. An entire new word is formed out of potential actions each time I make the smallest choice.
Perhaps a god likes that structure of creation -- with each choice we make, a new universe is chosen and the other possible universes are ended. The simplest creature with free will creates a new story of the universe, which is perhaps more interesting than a pre-determined universe, even to a god. That would be my answer to this question.
Choices may, in a way I cannot think well about, establish time itself. Time is a change of state (an iteration of reality?). If there is no change, then the universe is static -- a beautiful piece of art, perhaps, but nothing in it can appreciate that without time, because without time, we cannot observe, remember, or think. Perhaps even a god would be frozen in its perfection but unable to act. The simplest change of state -- two subatomic particles interacting -- would establish time. But is there meaning? Perhaps not yet if randomness rules this universe. They are not sentient so we cannot say they have free will. But at least they establish the fabric of space-time in which complicated beings can make a choice.
Once living beings are complex enough to act beyond mere instinct, they have situations about which choices can be made. In those brief moments when we living intelligent creatures are not being forced by causality and can for a moment become an agent of cause, perhaps we bring less randomness to the interaction of matter and energy in space-time -- and that is interesting, perhaps even to a god. Randomness seems to have little meaning, but intelligent free will acts may have more meaning than randomness. And so intelligent creatures with free will help create a meaningful universe.
Speaking for myself, I have grave doubts about the existence of free will because I cannot seem to free myself from causality (what comes before this moment). But I try not to let that bother me.