Hello dear @Sidra,
thanks for sharing your question with the Wefugees Community.
You have'nt mentioned if you are in Asylum process and doing an apprenticeship (Ausbildung) or you have an Ausbildungsduldung, which means you have got a Duldung based on your Ausbildung after the rejection of your Asylum Application.
I assume you have an Ausbildungsduldung. In case you have an Ausbildungsduldung, which may last two or three years, after the end of this Ausbildung if you find a work in the same field, you will receive a residence permit based on paragraph 19d of the Residence Law for two years. With this 2 years of residence permit you are allowed to travel to the European Union countries, if you meet the entry requirements of that country, to which you want to travel, and you will be allowed to stay there up to 3 months.
After the 2 years of work in the field, in which you have done your Ausbildung, you will be free to work in other fields.
I hope my answer was useful for you and I'll be very pleased if you contact me again with further questions. I'm a member of the MBEON-staff and I‘ll be glad to guide you over a longer period of time. Mbeon is an online consultancy for migrants via the mbeon-app, which you can install on your smartphone for free. Download it via App Store or Google Play Store. You'll find me In the mbeon-app under my name „München, Herr Noori“ and get confidential one-to-one advice in a safe virtual room where nobody can wiretap messages. Further information: ***.mbeon.de