From Wiktionary, the free dictionary
if pigs had wings they would fly
- (colloquial) Expresses skepticism toward a hypothetical argument by another.
- Often used shortened form: "if pigs had wings" or with variant second clauses, especially "they could fly".