Jami` at-Tirmidhi, Book 2, Hadith 222 (Tirmidhi 370)

Abu Hurairah narrated that the Prophet (ﷺ) said:

"Yawning in prayer (salah) is from the Shaitan, so when one of you yawns then let him suppress (it) as much as possible."