ask a stupid question and you'll get a stupid answer
Also,ask a silly question. Your query doesn't deserve a proper answer, as in Am I hungry? ask a stupid question! One authority believes this idiom is a variant ofask me no questions and I'll tell you no fibs, which appeared in Oliver Goldsmith's play She Stoops to Conquer (1773) and was frequently repeated thereafter.
[ Early 1800s