What i don't understand is, why Allah S.W.T said Do not obey him in the ayah. I'm so confused here. Sorry for bad English.
Quran 96:19 " No! Do not obey him. But prostrate and draw near [to God] "
To find out what this verse means, we must look at the other verses of Surah Alaq:
Recite in the name of your Lord who created Created man from a clinging substance. Recite, and your Lord is the most Generous Who taught by the pen Taught man that which he knew not. No! [But] indeed, man transgresses Because he sees himself self-sufficient. Indeed, to your Lord is the return. Have you seen the one who forbids A servant when he prays? Have you seen if he is upon guidance Or enjoins righteousness? Have you seen if he denies and turns away - Does he not know that Allah sees? No! If he does not desist, We will surely drag him by the forelock - A lying, sinning forelock. Then let him call his associates; We will call the angels of Hell. No! Do not obey him. But prostrate and draw near [to Allah].
In these verses, it is talking about Abu Jahl threatening and trying to prevent Prophet Muhammad from praying the Islamic way in the Ka'bah. This is when the 2nd part of the Surah was revealed. Then when it says 'let him call his associates', it is taking about Abu Jahl's supporters which the 'angels of Hell' will deal with.
Then the verse you were talking about: Quran 96:19 " No! Do not obey him. But prostrate and draw near [to God] "
It is saying to ignore those who try to prevent you from praying Salah and when it says,' prostrate and draw near', it is talking about to keep praying Salah and go closer to Allah.