Why is ‘إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ’ used as an example of Hadith in this level?

What Is a Hadith?