Apple warranty page
It's already been quoted above, but it bears repeating since Apple's warranty page is one of the simplest and clearest:
https://www.apple.com/uk/legal/statutory-warranty/
Personally I've bought 2 iPhones and 4 iPads all either used or refurbished and all are in the family and still working and with OK batteries.