The four penny coffin was one of the first homeless shelters created for the people of central London by the Salvation Army during the late 19th and early 20th centuries. For 4 pennies, they received food and shelter and could sleep in a coffin-shaped wooden box with a tarp. – WTF Fun Facts
Source: Four penny coffin – Wikipedia