The people used to attend the Friday prayer from their houses and from the suburbs of Medina. Sunan Abi Dawud Book 2, Hadith 666