Allah Pak say in Surah AL ASR
By the time. Verily man is in loss, Except those
who believe, and do good deeds,and recommend one another to the truth, and recommend one another to the patience. (103:1-3).
COLLECTIVE Responsibility of Ummah
Muslims! There must be a group among you who would invite people to good and would command them to do good deeds and would prevent them from forbidden things and these are people who Will attain salvation. (3:105)