Assalamualaykum,

I was just wondering if someone knows the history of why sects were produced. sects in Islam such has Sunni, Shia etc...

I was viewing other forums the they refereed to the following hadeeth saying there are no sects in Islam, so how did this Sunni sect come about?

The following are the qur'an verses they refereed to:

"And hold fast, All together, by the rope Which Allah (stretches out for you), and be not divided among yourselves;" [Al-Qur’an 3:103]

"As for those who divide Their religion and break up Into sects, thou hast No part in them in the least: Their affair is with Allah: He will in the end Tell them the truth Of all that they did." [Al-Qur’an 6:159]