You can prove your previous stay in Germany by means of a tenancy agreement, for example. In this regard, service charge statements that you received in the course of your tenancy also apply. Employment contracts and service contracts as well as wage payments also count as proof. Tourist stays are excluded.