Thanks arabiamark for all of your advice.
It is very much appreciated.
I have changed my flight for the longer connection just to be on the safe side.
Unfortunately I am not travelling business but I read somewhere that it is possible to purchase lounge access for about 40 riyals?? not sure if that is true?
Anyway I will update my experience once I am back so that other can benefit.