The Lajnah (Permanent Committee For Scholarly Research And Ifta’) were asked:
Is running traffic lights and similar traffic offenses such as exceeding the speed-limit inside or outside towns, haphazard parking, especially at times of Salah (Prayer), and annoying others without reason considered Haram (prohibited) or just Makruh (reprehensible)? Kindly, give us the Fatwa in this regard, may Allah reward you!
Traffic systems are designed and implemented for the common benefit of Muslims. It is thus incumbent upon all drivers to act in accordance with them, as violating them lead to many accidents where people are exposed to injuries and dangers. As for parking nearby Masjids (mosques) for a short period of time, whether to perform Salah or other reasons without causing annoyance to anyone, it is not a problem, In sha’a-Allah (if Allah wills).
AbdulFattaah Bin Uthman