The Qur'an said of the unbelievers and those who...
The Qur'an said of the unbelievers and those who, till the moment of death, continue in unacceptable ways: “Till, when death comes to one of them, he says 'My Lord return me; haply I shall do righteousness in that which I forsook.” (23: 99) But their wish is unfulfilled, and they are told. “Nay, it is but a word he speaks, are there, behind them, barrier until the day that they shall be raised up.” (23: 100) Here is a true story about this.
The tumult of the battle of Badr had just died down and the enemy fled away. The dead remained. Some of the dead who were unbelievers were dumped in a well. The Prophet (S) came to the head of the well and said to the dead: “O ye unbelievers! You were the accomplices of evil. You drove the Prophet of Allah from his home, and joined together in war against him. Now I have seen the promise of my God fulfilled.
Have you also seen the promise of your god proved true?” On hearing these words, 'Umar said: “O Prophet, how can you speak with these who are no more than bodies without spirits?” “Enough!” said the Prophet, “I swear by Allah that you can hear no better than they can. Just as I got up and turned away from them, the angels of torment came to beat them with iron clubs.” Amir al-mu'minin 'Ali (a.s.), too, was searching among the dead after the battle of Jamal for the body of Ka'b ibn Surah.
Ka'b had been appointed in his life-time to be judge of Basrah, and had been judge there till the end of the Caliphate of 'Uthman. In the battle of Jamal he hung a Qur'an round his neck and together with the family and offspring of the Prophet went to the Imam's battle and was killed. After he had found the body, the Imam (a.s.) gave the command to sit him up, and addressed him: “O Ka'b, I have seen the promise of Allah fulfilled.
Have you, too seen it fulfilled?” Then he ordered the body to be laid down; then he did the same with the body of Talhah. So someone asked him: “What is the use of doing that? They cannot hear your words.” “I swear by Allah,” We said, “that they heard both my remarks, just as did the deadbeat Badr with the Prophet.” Also Habbah al-'Arni said “I went with Amir al-mu'minin 'Ali (a.s.) to Wadi as-Salam. The latter stood and it seemed that he spoke with some people.
I stood too but became tired, so I sat down, but I was still tired. I got up and sat down again. Still I was tired so I stood up to get my cloak and asked 'Ali if he would allow me to put my cloak down so that he could sit down for a while.