"Those who split up their Religion, and become (mere) Sects,- each party rejoicing in that which is with itself!". [30:32]
If anyone accepts Islam, he has only to testify that there is no god but Allah and Muhammad (s.a.w) is His messenger, to perform the prayers five times a day, to pay Zakat, to fast in the month of Ramadan and to make the pilgrimage to the House of Allah (the Kabah) if he is able to do so. It is certainly not necessary for him to follow any Mazhab i.e. Hanafi, Shafi, Maliki or Hanbali. If he does so, in the eyes of Islamic law, he will be considered a wrongdoer, prejudiced and sinful person, and will be treated among those who divided the religion of Islam into different sects. Allah has strongly condemned those who create dissension in Islam. The Quran says:
" Verily, those who divide their religion and break up into sects, you
(O Muhammad s.a.w) have no concern in them in the least ..." [6:159]