It was narrated that Abu Sa'eed Khudri said:
"The Messenger of Allah said: 'All the earth is a mosque, except for graveyards and Hammam.'"