عن أبي هريرة رضي الله عنه قال: «إن النبي صلى الله عليه وسلم كان إذا عطس وضع يده أو ثوبه على فيه وخفض أو غض بها صوته
Abu Hurairah said that if the Prophet sallahu alayhi wa salam used to sneeze, he used to place his hand or thawb on his mouth to suppress the noise (Tirmidhi and graded Hasan by Al-Albani)

Imam al-Mubaarakfoori rahimahullah said:
وأن يغطي وجهه لئلا يبدو من فيه أو أنفه ما يؤذي جليسه ، ولا يلوي عنقه يمينا ولا شمالا لئلا يتضرر
“He should cover his face so what is harmful will not come out and harm his sitting companion and he does not have to turn his neck right or left so he does not harm himself”

(Tuhfatul Ahwadhi)

Shaikh Ibn ul-Uthaymeen rahimahullah said the same in Sharh Riyaad as-Saliheen

Translated by

Faisal Ibn Abdul Qaadir Ibn Hassan
Abu Sulaymaan