You have to get Saudi transit visa in advance. Since the car in on bank loan, a NOC from the bank is also required.

My last trip from Al Ain to Doha took me 6-1/2 hours with the border formalities.

From Dubai the total distance is about 650 km. Saudi stretch is about 120 kms.

Roads are not bad at all.

Cheers