Sunan an-Nasa'i, Book 44, Hadith 257 (Nasa'i 4715)

It was narrated that Jabir said:

"The Messenger of Allah decreed the principle of pre-emption, and the (rights of) neighbors."