Complex sentence: Upon reaching there, pilgrims perform Maghrib and Isha prayer jointly, spend the night praying and sleeping on the ground with open sky, and gather pebbles for the next day's ritual of the stoning of the Devil (Shaitan).
Split into simpler sentences: Upon reaching there, pilgrims perform Maghrib and Isha prayer jointly. Pilgrims spend the night praying and sleeping on the ground with open sky, and they gather pebbles for the next day's ritual of the stoning of the Devil (Shaitan).