Breakdown of قبل ما انام، حطيت التلفون جنب السرير، والمخدة كانت تحت البطانية.
Questions & Answers about قبل ما انام، حطيت التلفون جنب السرير، والمخدة كانت تحت البطانية.
In Levantine, قبل ما + verb is the normal colloquial pattern for before [someone] does/did something.
So:
قبل ما انام = before I sleep / before I go to sleep / before I went to sleep
Here, ما is not a negation. It is just part of this time expression in spoken Arabic. A more formal Standard Arabic version would be قبل أن أنام, but in everyday Levantine, قبل ما أنام is much more natural.
Because after قبل ما, Levantine usually uses the bare imperfect verb, without the بـ prefix.
So you say:
قبل ما انام
not usually:
قبل ما بنام
The بـ prefix often marks the regular present/habitual in Levantine, but after words like قبل ما, you normally drop it.
That is very normal in Arabic.
After قبل ما, Arabic often uses the imperfect form even when the whole situation is in the past. So structurally, it looks like before I sleep, but in context it can mean:
before I went to sleep
or
before going to sleep
Since the main verb حطيت is past, the listener naturally understands the time as past.