Sunan an-Nasa'i, Book 21, Hadith 191 (Nasa'i 2013)

It was narrated from 'Amir bin Sa'd that when Sa'd was dying he said:

"Make a niche for me in the side of the grave and set up (bricks) over me as was done for the Messenger of Allah."