You will not be granted access if your legs and shoulders aren't covered. Entry to the Dome of the Rock and Al Aqsa is 38 ILS (roughly $10 USD). Also, note that you will need to remove your shoes ...