Sunan an-Nasa'i, Book 50, Hadith 75 (Nasa'i 5511)

It was narrated that Abu Hurairah said:

"The Messenger of Allah said: 'Seek refuge with Allah from a bad neighbor in one's permanent abode, for one's neighbor in the desert will change.'"