[Machine] Ammar ibn Yasir to Umar ibn Al-Khattab, do you not remember that we were on a journey and you and I were considered strangers? As for you, you did not perform prayer, but as for me, I was in a state of janabah (impurity), so I performed prayer. Then I went to the Prophet ﷺ and mentioned this to him. The Prophet ﷺ said, "It was sufficient for you to do as you did." Then the Prophet ﷺ struck the ground with his hands, blew into them, wiped his face and hands with them.
عَمَّارُ بْنُ يَاسِرٍ لِعُمَرَ بْنِ الْخَطَّابِ أَمَا تَذْكُرُ أَنَّا كُنَّا فِي سَفَرٍ فَأَجْنَبْتُ أَنَا وَأَنْتَ فَأَمَّا أَنْتَ فَلَمْ تُصَلِّ وَأَمَّا أَنَا فَتَمَعَّكْتُ فَصَلَّيْتُ فَأَتَيْتُ النَّبِيَّ ﷺ فَذَكَرْتُ ذَلِكَ لَهُ فَقَالَ النَّبِيُّ ﷺ إِنَّمَا كَانَ يَكْفِيكَ هَكَذَا فَضَرَبَ النَّبِيُّ ﷺ بِكَفَّيْهِ الْأَرْضَ فَنَفَخَ فِيهِمَا ثُمَّ مَسَحَ بِهِمَا وَجْهَهُ وَكَفَّيْهِ