It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that a man from the Ansar said: "O Messenger of Allah! My brother has died and he has already been buried, so please offer the funeral prayer for him." So the Messenger of Allah (peace and blessings be upon him) went with the Ansar to his brother's grave and offered the funeral prayer for him there.