Bayhaqi 3874 — One who forgot the qunut performs the prostration
Chapter: One who forgot the qunut performs the prostration of forgetfulness, by analogy with what we reported about one who stood up after two rak'ahs and did not sit
باب: من نسي القنوت سجد للسهو قياسا على ما روينا فيمن قام من اثنتين فلم يجلس
It is reported from Hasan al-Basri (may Allah have mercy on him), concerning the person who forgets to recite the qunut in the morning prayer, that he must perform the two prostrations of forgetfulness.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3874