eBay and Amazon sell XR replacement screens and XR replacement back glasses. So they would be good places to check for parts.
https://www.amazon.com/Original-iPhone-Screen-Replacement-Adhesive/dp/B07SGXTMBR
https://www.amazon.com/XR-Replacement-Battery-Pre-Installed-Adhesive/dp/B07NYR6RZX