Can You Pray in The Bedroom?
Question

Is it true that it is not permissible for a man or a woman to pray in the bedroom?.
Praise be to Allah.Is Praying in The Bedroom Allowed in Islam?
There is nothing wrong with a man or woman praying in the bedroom, because the Prophet (peace and blessings of Allah be upon him) said: “The earth has been made a place of prostration and a means of purification for me, so wherever a man of my Ummah is when the time for prayer comes, let him pray.” (Narrated by Al-Bukhari, 335 and Muslim, 521)
The Prophet (peace and blessings of Allah be upon him) used to offer optional prayers and Qiyam Al-Layl in the room of `Aishah (may Allah be pleased with her) and the rooms of his other wives (may Allah be pleased with them).
The obligation to pray in Congregation in the mosque
It is well known that men are enjoined to offer prayer in congregation, when the call for prayer is given, but if a man misses a prayer or is excused for not going to the mosque, or he offers an optional prayer in his bedroom, there is nothing wrong with that.
But if he misses prayer in congregation in the mosque with no excuse, and prays in his room, his prayer is valid but he is sinning by not praying in congregation.
The point is that there is no difference between a bedroom and any other place in the house that is pure.
For more details, please see the following answers:
Ruling on praying on one’s bed
Is Praying in a Room with a Toilet Permissible?
Can You Pray in Your sleepwear?
Is it permissible to pray in a room where there is a television that is on?
Are You Allowed to Pray in the Bathroom?
And Allah knows best.