When you hear a sneeze, you should say, "Praise be to Allah" Al-Adab Al-Mufrad 926
Arabic hadith text
حَدَّثَنَا طَلْقُ بْنُ غَنَّامٍ، قَالَ: حَدَّثَنَا شَيْبَانُ، عَنْ أَبِي إِسْحَاقَ، عَنْ خَيْثَمَةَ، عَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ قَالَ: مَنْ قَالَ عِنْدَ عَطْسَةٍ سَمِعَهَا: الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ عَلَى كُلِّ حَالٍ مَا كَانَ، لَمْ يَجِدْ وَجَعَ الضِّرْسِ وَلا الأُذُنٍ أَبَدًا.
Translation
'Ali said, "When someone hears a sneeze and says, 'Praise be to Allah, Lord of the Worlds, in every situation,' he will never get a toothache or earache."