Sie wohnen in einer Stadt in der Nähe von Peking.

English Translation

They live in a city close to Beijing.

Is it still common to refer to Beijing as Peking in Germany?

I would say yes. And I bet a lot of people still say “die Türkei” instead of “Türkiye”.