Zabihullah Mujahid, the spokesperson of the Islamic Emirate, said that recent actions by some Afghan citizens in Germany should not result in the deportation of other Afghan migrants from that country.
Mujahid also said that the Ministry of Foreign Affairs is investigating this issue with the German government.
The spokesperson of the Islamic Emirate said: "A general ruling should not be imposed on all migrants in that country because it is natural that sometimes personal violations and actions occur. These personal matters should not be applied to everyone."
This comes as at least three Afghan citizens in Germany have been killed and arrested over the past two weeks for crimes involving knife attacks.
Some international relations experts believe that this issue is influenced by opposition from certain factions who are against the presence of Afghan migrants in Germany.
Baqer Saeer, an expert in international relations, said: "The discussion of racial superiority or racism, believing that we are a superior race and should have more space in the world, is active in German society. Its victims are often wandering migrants from Afghanistan."
Some Afghan migrants in Germany, expressing concern over this issue, say that it will lead to increased restrictions on Afghan migrants in Germany.
Ali Reza Karimi, an Afghan migrant in Germany, said: "Unfortunately, after such attacks, it is possible that this will turn into stricter policies and make the conditions for accepting and applying for asylum more difficult for Afghan migrants."
These attacks have sparked widespread reactions in Germany, and several political figures, including the German Chancellor, have called for the deportation of Afghan migrants.