Upvote:2
You do not require a Saudi transit visa for this itinerary even if you have to change planes.
TWOV (Transit Without Visa):
Passengers transiting through Dammam (DMM), Jeddah (JED) or Riyadh (RUH) with a confirmed onward ticket for a flight to a third country within 12 hours. They must stay in the international transit area of the airport and have documents required for the next destination. Only one transit stop-over in Saudi Arabia is permitted.
Source: Timatic via Emirates