The sanghata sutra says that upon death a person that abandons the Holy Dharma will have his dreams broken and go to hell for 8 aeons.
The Blessed One said: “Sarva-shúra, limitless are the migrations of sentient beings who disparage the holy Dharma. Limitless too are their future lives. Sarva-shúra, sentient beings who abandon the holy Dharma will experience feelings for an eon in the sentient beings’ great hell of Lamentation; for an eon in the Crushing Hell, an eon in the Hot Hell, an eon in the Extremely Hot Hell, an eon in the great hell of Black Lines, an eon in the great hell of Avíci, an eon in the great hell called Hair Rising, an eon in the great hell of Calling Out ‘Alas!’ and, Sarva-shúra, they will have to experience the sufferings of these eight great hells for eight eons.”
So if someone converts to another religion he will go to hell?