This is the famous story of Meir Anschel Rothchild and how he replaced the missing gold coins of the Rebbi of Tshortkov