If your adjustment status application is pending, you can still work in the US. When you file the adjustment of status application, you automatically file for employment authorization. However, that employment authorization is going to take approximately 75 to 90 days for it to be approved. Technically, you’re not supposed to be working prior to obtaining an employment authorization. However, there are probably 11 million people in the United States that are working without authorization.
I will say this: You should not work. However, if you are filing to obtain your permanent resident status through a spouse, working without authorization is not going to affect you obtaining adjustment of status. You should still contact an experienced immigration attorney, and I would urge you to do so, because there are other issues involved with working without authorization.