The jinn live upon the same earth as humans do.
Most of them can be found among the ruins and dilapidated areas, as well as the places where there are many impure things, such as, bathrooms, hashish dens, garbage dumps, the places of the camels, cemeteries.
For that reason, as Ibn Taimiya said, those people who are close to Satan usually inhibit such areas. There are hadith that say that one should not pray in bathrooms due to the impurities present and because it is the abode of Satan, or in cemeteries as this leads to polytheism and it is also a home for the devils.
Many of them are in the places which may be sources of evil, such as the marketplaces.
The Prophet (peace be upon him) gave the following advice to one of his Companions,
“If you can, do not be the first one to enter the marketplace. And do not be the last to leave it. For they are the places of Satan and therein he raises his banner.”
This hadith was recorded in Sahih Muslim.
The devils live in the same houses in which people live. One can stop them from entering or repel them from such houses by remembering or mentioning Allah dhikr), reciting the Quran, in particular, surah al-Baqara and Ayatul Kursee (verse 255 of that surah).
The Prophet (peace be upon him) stated that the devils spread out and roam about increasingly when the dark first comes, and, therefore, he has advised Muslims to bring in their children during that period of time. This is stated in a hadith that was recorded by both AI-Bukhari and Muslim.
And the devils run away from the call to prayer and cannot stand listening to it. And in the month of Ramadhaan they are chained.
The devils love to sit between the shade and the sunlight. For this reason the Prophet (peace be upon him) forbade the Muslims to sit in such places. This hadith was recorded in the books of Sunan and other works and it is sahih.
Source : The World of Jinn and Devils | Umar S. Ashqar