حَدَّثَنَا طَلْقُ بْنُ غَنَّامٍ، قَالَ: حَدَّثَنَا شَيْبَانُ، عَنْ أَبِي إِسْحَاقَ، عَنْ خَيْثَمَةَ، عَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ قَالَ: مَنْ قَالَ عِنْدَ عَطْسَةٍ سَمِعَهَا: الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ عَلَى كُلِّ حَالٍ مَا كَانَ، لَمْ يَجِدْ وَجَعَ الضِّرْسِ وَلا الأُذُنٍ أَبَدًا.
It is narrated from Sayyiduna Ali (may Allah be pleased with him), he said: Whoever hears a sneeze and says: "In every condition, as it may be, all praise is due to Allah, the Lord of the worlds," then he will never suffer from toothache or earache.