A: Respected Brother/Sister in Islam
As Salaamu Alaykum wa Rahmatullahi Wa Barakaatuh
Haamidaw wa Musalliyaa
The subject of taqdeer is one that is very delicate and intricate. Delving too deep into this subject is discouraged and has caused many to go astray. However, in order to clarify your concern one should understand that Taqdeer does not refer to the command of Allah. Allah has not forced nor commanded any person to commit wrong. Rather it refers to the knowledge of Allah. Allah has blessed every person with the ability to choose between right and wrong. One does right or wrong of his/her own prerogative. Hence, if a person does evil or commits a sin, he does not do so because he was forced into it. Rather, he does so out of his own choice. Yes, Allah out of His infinite knowledge knew that this person would choose the wrong path.
Perhaps a simple example would assist in understanding this concept further. If a newspaper announces that the head of State is to travel to South Africa, and thereafter he does indeed travel, he does so out of his own choice and not because the newspaper had knowledge thereof or had announced his plans.
Nevertheless, my sincere advice is that you do not delve too deep into this subject and accept the concept as mentioned above. Remember, every person has a choice. No person is forced to do good or evil.
And Allah Ta'ala Knows Best
Shafiq Jakhura (Mufti)