The rights of one Muslim over another are six
Prophet Muhammad (ﷺ) said: 
“The rights of one Muslim over another are six.”
It was said: What are they, O Messenger of Allaah? He said: 
1.If you meet him, greet him with salaam; (Saying Assalamualaykum)
2.If he invites you, accept the invitation; 
3.If he asks for advice, give him sincere advice; 
4.If he sneezes and praises Allaah(Alhamdulillah), say Yarhamuk Allaah (may Allaah have mercy on you); 
5.If he falls sick, visit him; 
6.And if he dies, attend his funeral.
Sahih Muslim (2162)