As for al-Barzakh ( = the period between death and the Day...
As for al-Barzakh ( = the period between death and the Day of Resurrection) and presence of the Prophet and the Imams of the Ahlu '1-bayt (a.s.) at the time of death and at the questioning in the grave and the help given by them to the believer to overcome those difficulties (as will be described under the verse: And there shall not be any one of the people of the book but he must certainly believe in him before his death (4:159), these things have nothing to do with intercession.
It is rather exercising the authority given to them by Allâh over the creation. Allâh says: . . . and on the most elevated places there shall be men who know all by their marks, and they shall call out to the dwellers of the garden: "Peace be on you; they shall not have yet entered it, though they hope". . -.And the dwellers of the most elevated places shall call out to men whom they will recognize by their marks, saying: "Of no avail were to you your amassings and your behaving haughtily.
The intermediary position of the Imam in calling every people and giving them their books is a sort of authority and rule vested in him by Allâh. To make a long story short, intercession shall happen at the very last stage on the Day of Judgement; it shall bring the divine forgiveness to the guilty believers, prevent them from entering into hell and take those out who would have entered into it; it shall be by extension of mercy and/or manifestation of benevolence and magnanimity.