Sunan Abi Dawud, Book 2, Hadith 693 (Abu Dawud 1083)

Salamah b. al-Akwa' said:

The space between the pulpit of the Messenger of Allah (ﷺ) and the wall (of the mosque) was such that a goat could pass.