Makhul, the Tabi'i, narrates that the Messenger of Allah (peace and blessings be upon him) forbade urinating around the doors of the mosques.