Answer
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
It is incumbent upon all drivers to act in accordance with traffic systems as violating them would lead to many accidents.
Answering your question, The Permanent Committee for Scholarly Research and Ifta’ in Saudi Arabia, states:
Traffic systems are designed and implemented for the common interest of Muslims. It is thus incumbent upon all drivers to act in accordance with them, as violating them would lead to many accidents where people are exposed to injuries and dangers.
As for parking nearby mosques for a short period of time, whether to perform prayer or other reasons without causing annoyance to anyone, it is not a problem.
Almighty Allah knows best.
Source: www.aliftaa.com