I prayed with the Messenger of Allah (ﷺ) two rak'ahs and most of them offered two rak'ahs…

Sahih Muslim Book 6 Hadith 29

Sahih Muslim #696 a

The Book of Prayer - Travellers 6:29

Haritha b. Wahb reported:

I prayed with the Messenger of Allah (ﷺ) two rak'ahs and most of them offered two rak'ahs only in Mina, while the people felt secure.

Chapter: Shortening the prayer in Mina

Grade: Sahih