Let us reconstruct a typical passage from Sharh Hanafiyah page 89 regarding doubt in prayer.
Ranking the Sunnah as a secondary source of law after the Quran, but with specific Hanafi criteria for accepting solitary reports (Ahad). or Al-Marghinani's Al-Hidayah sharh hanafiyah page 89
: