Next night he could not take it anymore. His family was starving, his wife was ill and he was losing his patience. So he went to the Prophet Muhammad(pbuh&hf) to ask for some money. When in meeting with the Prophet, he again remembered him saying: "Whoever asks our help, we will help. But whoever asks Allah for help, Allah will make him completely needless!" Again he did not ask for money and went back home.
One day he came out and thought to himself:" what are my capabilities?...what talent has Allah given me [that is Halal!]?" Then he got an idea...he went to the desert and collected woods and weeds. He brought them to the city and sold them. He got some money. Then the next day he went to the desert again and collected more weeds and woods, brought them and sold them. He did this until he became a very rich man! One day Prophet Muhammad(pbuh&hf) saw him; the Prophet smiled at him and said: " Didn't I tell you if people ask our help, we will help but if you ask Allah's help, Allah will make you completely needless?!"