A bakery has donated 1,000 mince pies to a hospice.