Hadith

Hadith (الحديث) are texts, originally orally transmitted, relating to the words, sayings, and deeds of Muhammad. Muslims usually regard hadith authority as second to that of the Qur'an. Islamic scholars generally consider Bukhari's collection the most reliable.

Each hadith comprises two parts:
 * 1) The isnad or authority on which the hadith stands (e.g.: "It is related by Irbad bin Sariyah that the Apostle said/did …")
 * 2) The matn or relation of the tradition itself

Twenty-first-century Islamic jurists commonly use the hadith (in addition to the Qur'an) to determine the implementation of sharia. The set of texts that comprise the hadith vary in each branch of Islam. Sunnis consult the hadith and decide sharia through a process of analogy and consensus, whereas Shi'a depend on the "divinely inspired" judgment of the imams. Ibadis have a separate form of hadith.

Dating
Hadith started as oral traditions. No hadith documents contemporary with the foundation years of Islam (7th century CE) have survived. The earliest extant manuscripts date from after 922 CE.

Authority
Not all Muslims accept the authority of all hadith, and the very small Qur'an-only sect rejects them wholly. Not all hadiths are equal as well, many are considered weak by Islamic scholars but this also depends on the denomination.

The weakest are called Maudu. These hadiths have a tendency to be based on things external to Islam like superiority of a political ideology, race, town, or any sort of supremacist tripe. Many of these are outright lies used for personal gain that ignore basic history both within and outside of Islam. Unsurprisingly, many of the hadiths that terrorists cite are Maudu.

Quote-mining
Hadiths are commonly quote-mined by various sorts of bigots, both inside (Islamic extremists and authoritarians) and outside (Islamophobes) Islam. Islamic extremists and authoritarians tend to use quote-mined hadiths to justify their violent and hateful actions, whereas Islamophobes quote-mine hadiths and use them as examples of how "evil" Islam is. Bonus points if they conflate the hadith with the Qur'an, even if there appears to be a contradiction between the Qur'an and the hadith.