The Five Pillars of Islam are shahadah, Salah, Saum, Zakat and Hajj. Shahadah is the first Pillar of Islam, it is the declaration of Faith and is put into practice through the other 4 ‘action pillars’. The Shahadah unites believers in faith because it’s the first thing said to them when they are born and the last thing heard when they die.
Saum, fasting through the month of Ramadan unites Muslims as it gives an opportunity to empathise with the less fortunate and Muslims who are showing commitment to God through this personal struggle – Greater Jihad.
Salah, prayer 5 times a day also unites the Muslim Community because the practice of these 5 daily prayers, at the same time all over the world gives a sense of identity and especially at Jummah Prayers on a Friday where all Muslims have to congregate at the Mosque brings the community together to worship. Also Salah shows unity and equality because of the performance of the Rakat in the Mosque, all Muslims must stand in rows facing the Qibla wall.
Zakat the payment of 2.5%, which is used for the benefit of the poor, brings the community together as it unites believers in their awareness of their responsibility towards each other and to God.
Hajj the pilgrimage to Makkah is preformed once in a lifetime it unites the community through a sense of brotherhood, every member has to wear the same simple white robe, which symbolizes unity and equality of all beilievers, but Hajj doesn’t always unite the community because the rich manage to separate themselves by wearing a silk Ihram and thy also use transport to complete the pilgrimage rather than on foot.
On the whole you can say the 5 Pillars unite rather than divide the Muslim Community