That was an episode of "Rheingold Theatre" called "A Priceless Pocket"(1953 TV Episode)
'James Hayter plays Henry Popple, one of life's underdogs who has struggled to make ends meet. One evening as his wife is repairing the torn pocket of his only pair of trousers he says he wishes there was more than a hole in the pocket. Wistfully his wife says she wishes he always had a pound in his pocket. He puts on the mended trousers, slips his hand in the pocket and finds a pound note! He does it again and finds another.
The magic pocket continues to produce endless pound notes. Popple is able to settle his debts and live more comfortably, but he also treats his friends and helps the poor (he gives a pound note to a beggar in the street, then impulsively puts his hand back in the pocket and gives him *another* pound note).....