AS krok said the advantage of driving is that you have your own transport. It would take you approximately 9-11 hours to reach dubai
including the immigration works in Saudi and UAE.