If you are travelling to some other foreign country via Germany, then you can be issued a Transit visa for staying in Germany. Transit visa can be issued for 24 hours up to 7 days. In order to be issued with the Transit visa you need to have a prior issued visa and confirmed air ticket to the country you are travelling to. This visa can only be issued at 3 airports; the main Frankfurt airport, Hamburg Airport and the Minchin Airport. Immigration officials can also request other documentation apart from the visa and return ticket, if they deem necessary.