It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that a lahd (a niche grave) was made for the Messenger of Allah (peace and blessings be upon him).
It is narrated from Sayyiduna Abdullah bin Abbas, Sayyiduna Ali and Sayyiduna al-Fadl (may Allah be pleased with them) that the lahd of the Prophet (peace and blessings be upon him) was levelled by a man from the Ansar, and he was the same man who had levelled the lahds of the martyrs on the day of Badr.
There is a supporting narration (shahid) for it in "Sahih Muslim" from the hadith of Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him). Sayyiduna Sa'd (may Allah be pleased with him) said: "Make a lahd for me and set unbaked bricks upright over me, as was done for the Messenger of Allah (peace and blessings be upon him)."
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) concerning this saying of Allah Almighty, "Judge between them or turn away from them", that he said: "It was abrogated by this verse: 'And that you judge between them by what Allah has revealed.'"