And when the Lord saw her, he had compassion on her, and said unto her, Weep not.
Note 2 at Lu 7:13: This example of the widow's son being raised from the dead is often used to demonstrate that Jesus produced many miracles without any faith from those receiving the miracle but by His faith alone. However, Mr 6:5-6 shows that Jesus could not (not "would not") do many mighty works in His hometown because of the people's unbelief. Many scriptures reveal that faith must be present to receive from God (Mr 11:23-24 and Jas 1:5-7).
So, what faith was present in this instance? First, the mother of the boy responded to Jesus in faith. For this woman to allow Jesus to interrupt the funeral procession and tell her to stop weeping has to be viewed as a positive response. These people were no different from mourners at funerals today. If this woman had rebelled at Jesus' intrusion, the crowd would have sided with her because of pity, but none of these reactions are recorded. Jesus was in command.
Second, it cannot be proven that dead people have no choice in what happens. From our viewpoint, that may be taken for granted, but the Scriptures don't state that. People don't cease to exist at death; they simply leave their bodies. They are still very much alive (see note 14 at Joh 5:28). Many people who have been raised from the dead have mentioned that they had a choice in whether to enter their bodies again or not. Although that principle cannot be verified by Scripture, it cannot be ruled out by Scripture either.
In any case, to be consistent with the rest of Scripture, some degree of faith had to be present in either the person receiving the miracle or an intercessor (in this case, the mother). Many people have missed their miracles because they had no power working in them (Eph 3:20).