Shaykh ‘Abdur Razzāq al-Badr (hafidahullāh) said,
The taqwa of Allāh is to obey Him, adhere to His commandments and abstain from His prohibitions.
The meaning of taqwa, is that the servant places a barrier between him and between that which he fears. And the taqwa of a servant in relation to his Lord, is that he places between him and his Lord a barrier that protects him from that which he is scared of, from Allah’s anger, displeasure and punishment.
And that is not achieved except by the performance of acts of obedience and refraining from acts of disobedience.