The decades-old practice had come under intense criticism in recent years as German authorities accused Turkish imams of abusing their positions to promote support for Turkey's ruling Justice and Development Party.