Sahih Muslim, Book 5, Hadith 361 (Muslim 1514)

Abu Huraira reported that the Messenger of Allah (ﷺ) said:

The parts of land dearest to Allah are its mosques, and the parts most hateful to Allah are markets.