Depending on their protection status, immigrants from third countries are granted a residence permit. The Federal Office for Migration and Refugees (BAMF) issues the decision on the residence permit in the form of an asylum decision.
Further information is available on the BMI website