Does a deceased person’s soul go to heaven or hell shortly after his death, or on the Day of Judgment?

People’s fate in the hereafter, and whether they go to heaven or hell, is determined on the Day of Judgment, not before it. Therefore, no one goes to hell before that day. However, there are Hadiths that suggest that the spirits of martyrs are already in heaven.

What happens to the spirit after death is that it departs to a position known as barzakh, which means a provisional position pending judgment.