Imaam Abu Hanifah (rahimahullah) selected five Ahaadith from five hundred thousand Ahaadith. These five Ahaadith are such that through practising on them, one will be practising on the entire Deen.
After Imaam Abu Hanifah (rahimahullah), Imaam Abu Dawood (rahimahullah) selected four thousand eight hundred Ahaadith from five hundred thousand Ahaadith and compiled them into his kitaab, Sunan Abi Dawood. From these Ahaadith four thousand eight hundred Ahaadith which he compiled into his kitaab, he selected four Ahaadith and stated that the one who practises on them will be practising upon the entire Deen. All these four Ahaadith are among the five Ahaadith that Imaam Abu Hanifah (rahimahullah) had selected. Imaam Abu Dawood (rahimahullah) did not select the fifth Hadith as he understood that the meaning of the fifth Hadith can be included in the other four Ahaadith.
Imaam Abu Hanifah (rahimahullah) passed away in the year 150 A.H. Imaam Abu Dawood (rahimahullah) was born fifty two years later, in the year 202 A.H. From this, it seems possible that Imaam Abu Dawood (rahimahullah) had taken this view from Imaam Abu Hanifah (rahimahullah).
These four Ahaadith are:
إنما الأعمال بالنيات إلخ
(The acceptance of) all actions are based on the intentions (with which the actions were carried out).
لا يكون المؤمن مؤمنا حتى يرضى لأخيه ما يرضى لنفسه
One will not be a true believer until he wishes for his brother that which he wishes for himself.
من حسن إسلام المرأ تركه ما لايعنيه
From the beauty of a person’s Islam is that he leaves out that which does not concern him.
الحلال بين والحرام بين وبينهما مشبهات لا يعلمها كثير من الناس فمن اتقى المشبها استبرأ لدينه وعرضه إلخ
Halaal is clear and haraam is clear, and between the halaal and haraam are such things which are doubtful and many people do not know it. The one who abstains from these doubtful things will protect his Deen and his honor.
(Suhbat Baa Awliyaa pg. 94-97)