I have a combined fasta file with all my sequences. I want to print the ID lines and their DNA sequence that end in `.4`

So far I have `awk /'>*.4'/ {getline;print} combined.fasta`  Which prints the sequences that I want, how do I get the ID lines as well?

    grep '^>.*4$' -A 1 --no-group-separator in.fa