The Prophet (peace and blessings be upon him) said: "Do not make the mosques into thoroughfares, except for remembrance (of Allah) or prayer."