Sunan an-Nasa'i, Book 21, Hadith 192 (Nasa'i 2014)

It was narrated from Sa'eed bin Jubair that Ibn 'Abbas said:

The Messenger of Allah said: "The niche is for us and the ditch is for others." (Daif)