The man, 49, of the Bavarian town of Straubing, gave away about $245 because he has arguments with his ex-wife over alimony, The Local of Berlin reported.
The boy said he was standing outside the bank with a friend when the man walked up to him, handed him the bundle of money, said, "You can keep that money," and wandered off.
The boy said he then went to the police because he assumed the money was counterfeit. Police said Saturday there was no evidence of any crime, "so the pupil is $245 better off for now."
The man said he would prefer to give the money to strangers than let his ex-wife have it, the Straubinger Tagblatt reported.
Notable deaths of 2014 [PHOTOS]
UPI Almanac for Sunday, Sept. 21, 2014