Shaykh Muhammad Farooq Rafi
Benefits:
This hadith is evidence that covering the head is obligatory for a woman during prayer, even if she is praying in seclusion where no one's gaze falls upon her.
This covering of the head is not for the sake of hijab, because covering the head from mahram relatives is not obligatory.
The mention of the woman shows that this ruling is not for the man; he may pray bareheaded. However, habitually remaining bareheaded is a disliked matter for a man as well.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 775