Salama b. al-Akwa‘said that he told God’s Messenger he was a man who went out hunting, and asked whether he might pray in a single shirt. He replied, “Yes, but fasten it, even if it should be with a thorn.”
Abu Dawud transmitted it and Nasa’i transmitted something similar.