All grammarA2
The dative after prepositions
The rule
After the prepositions mit, bei, zu, nach, aus and von, the noun or pronoun is in the Dativ, with or without a movement.
In the Dativ, der and das become dem, die becomes der, and the plural die becomes den: mit dem Bus, bei meiner Schwester, mit meinem Sohn.
Short forms: zu dem is zum, zu der is zur, bei dem is beim, von dem is vom.
Examples
Am Sonntag bin ich bei meiner Schwester.
On Sunday I'm at my sister's.
Frau Becker fährt mit dem Bus zur Praxis.
Mrs Becker takes the bus to the practice.
Lotta kommt aus dem Supermarkt.
Lotta is coming out of the supermarket.
Ich gehe heute mit meinem Sohn zum Arzt.
Today I'm going to the doctor with my son.