The Prophet ﷺ said:
إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ (Sahih al-Bukhari: 1)
Translation: Actions are judged by intentions.
Umar heard and reported this saying from the Prophet ﷺ. We have studied this example before.
Now we will look at a short part of two chains transmitting this Hadith.