The Quran says:
Recite, [O Muhammad], what has been revealed to you of the Book and establish prayer. Indeed, prayer prohibits immorality and wrongdoing, and the remembrance of Allah is greater. And Allah knows that which you do. [29:45]
A person kidnapped a driver alongwith his car, killed him and ran away with car. When the people followed him, he was offering prayer while standing near the snatched car after murder.
just an habit to perform.
We just offer the prayer as a habit. We read in the Holy Quran that theft is a big sin but who cares, did we follow? We are just doing exercise in namaz and if offer prayer with sincerity, care and concentration then it will change the human into a pious body.