Can I Pray on My Bed?
Question

Is it permissible for me to pray Qiyam on my bed?
Praise be to Allah.It is permissible to pray on one’s bed so long as it is firm and the worshipper is able to place his forehead and nose firmly when prostrating.
Among the comments made by scholars about praying on one’s bed are the following:

Al-Hattab (may Allah have mercy on him) said in Mawahib Al-Jalil (1/520): It says in At-Tawdih: As for praying on one’s bed, there is no dispute that it is permissible, as is stated in Al-Bayan. (End quote)
An-Nawawi (may Allah have mercy on him) said in Al-Majmu` (3/221): The condition for obligatory prayer is that the worshipper be steady in facing the Qiblah throughout the prayer. If he faces the Qiblah and does all the pillars (essential parts) of prayer in a howdah or on a bed or the like on the back of a riding-animal that is standing, there are two views as to whether his obligatory prayer is valid; the more correct view is that it is valid, and this was stated by the majority, because that is like praying on board a ship. (End quote)
Shaykh Salih Al-Fawzan (may Allah preserve him) was asked: Is it permissible to pray in a raised place such as on a bed and the like if one is not sure whether the ground is clean and he has no excuse such as sickness and the like?

He replied: There is nothing wrong with praying on something that is raised such as a bed and the like, if it is clean and is firm and will not shake or wobble and distract the worshipper. (End quote from Al-Muntaqa, 2/143)
For more details, please see the following answers:
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.