The Messenger of Allah (ﷺ) said like this.

Sahih Muslim Book 5 Hadith 6

Sahih Muslim #522 b

The Book of Mosques and Places of Prayer 5:6

Hudhaifa reported:

The Messenger of Allah (ﷺ) said like this.

Grade: Sahih