Security forces detained the man on Saturday in Bernau, just outside Berlin, and searched his home there, the Federal Prosecutor’s Office said.