On July 2, I am going from Dubai, UAE, to Chennai, India, with a connecting flight in Riyadh, Saudi Arabia. The flight is on Saudia Airline and the layover is nearly 2.30 hours. I would not leave the airport.
No, You do not need a transit visa for Saudi Arabia with an Indian passport if you just stay in airside.
If traveler intends to pass through immigration, a transit visa may be required. Please confirm with your travel agent or airline to determine if the itinerary is for direct airside transit. A visa is not required for direct airside transit through Saudi Arabia. Traveler must be in possession of a valid passport and onward ticket, and must remain in the airport's transit area.