Sayyiduna Ibn Mas'ud (may Allah be pleased with him) said: Yawning and sneezing in prayer are from Satan, so seek refuge with Allah from it.