I was wondering if there are any sins that, if committed by a Muslim who dies on them without repenting, makes him lose his right of a proper burial.

I'm asking this because I heard that the Muslim community of Mumbai refused to bury the people who performed those attacks.