Near it you'll find relief for weary several camel drivers often wait around the mosque entrance and will be glad to order their huge beasts to kneel so that you can climb aboard.
You can take a ride on a camel so ask the camel drivers near the entry to the mosque.