It depends on the time taken at the border crossings. I traveled to Abu Dhabi several times. Its exactly 600 kms from Doha. It took me 6 hours on couple of occasions and 11 hours once during Eid holidays. Once the computer system in Saudi crashed on the way back and was stuck for 2 hours at the Saudi-Qatar border.

Avoid traveling during public holidays.