Note: Never mix medications without a doctor's permission.
It is not uncommon for people to take Adderall during the day for their ADHD symptoms and to take Ambien at night to combat the insomnia that frequently occurs with ADHD.
Whether you are taking Ambien while on Adderall or not, the FDA issued a warning in 2007 regarding the strange side effects that can be produced by Ambien.
A review of the reports on Ambien show that it can cause strange behavior such as sleepwalking sleep-driving, sleep-cooking, and a variety of other behaviors while the person taking it is in a twilight zone somewhere between sleep and wakefulness. Although appearing awake, the people who have experienced these behaviors are not conscious of their behavior. When these behaviors have occurred, Ambien also causes amnesia which causes the people who experienced these behaviors to remember nothing they had done.
In quite a number of cases, people on Ambien have shown symptoms almost identical to DWI and have been stopped by police for DWI while not intoxicated by alcohol but, instead, by Ambien. In one case regarding Ambien, a woman reported that she awoke alone in a hotel room, which was located two hours from her house, without any recollection of driving there.
Ambien is an anti-convulsant and muscle relaxer, also used as a sleep aid. I have ADHD and take both medications and they work harmoniously for what they are specifically designed for.
Adderall is specifically designed for a specific purpose for patients with specific physiological needs. If there are more detailed questions regarding using both in conjunction with one another the best course of action is to consult a physician, preferably a psychiatrist since this is their area of expertise.