Upvote:1
According to Timatic, the software airlines use to determine the required travel documents, you may transfer in Jeddah without a visa if your transit time is 12 hours or less. They do have a sterile transit area, but looks like you'll need a transit visa for the return leg of your trip.
I don't know how they enforce the visa requirement within a sterile transit area, maybe someone here has personal experience and could answer that part more clearly.