Quran 71: 5. [Noah] said a: "My Lord, I have called unto my people night and day."b
6. "But my calling has only increased their flight [from me.]"
7. "And whenever I called them [to believe], that You might forgive them [their sins], they thrust their fingers in their ears c, veiled their [heads] with their garments d and insisted [on their disbelief and rebellion] and turned [extremely] arrogant [against me and against the believers.]"
8. "Then I called them openly [after calling them secretly.]"
9. "And I proclaimed to them e in public, and kept up calling [and advising] them." f
10. "And I said: "Ask forgiveness of your Lord; for He is All-Forgiving [to those who repent.]"
11. "So He will loose the sky upon you with profuse rain."
12. "And will give you more wealth and sons, and bestow on you gardens [in the life of the World], and bestow on you rivers [out of which you will water your gardens.]"
13. "What ails you that you hope not for [the reward of] God [and so to humble yourselves – in your worship – before] His majesty",
14. "Seeing that He has created you by stages [of development g]?"
15. "Have you not considered how God created seven [ethereal or spiritual] heavens h, as layers [one above another]",
16. "And let the moon [give] light therein i, and let the sun [to be as] a lamp j [above these heavens?]" k
17. "And God formed you from the earth like the plant l.”
18. "Then He returns you into it [after death], and [on Doomsday] He will surely take you m out of the [earth to the space, then to the ‘gathering-together’.]"
19. "And God has made easy n for you the earth [for dwelling and cultivation.]"
20. "That you may go about therein, in spacious routes o."
............................................................
a Complaining his people.
b It means: at all times, by night and by day.
c Lest they may hear my words.
d Lest I may see them and talk to and advise them. It means: they cover their heads with their clothes making them as a veil between me and them.
This word has also been explained in the interpretation of the Quran, soora or chapter 11.
e Their faults and the consequences of their associating others with God.
f But both my proclaiming and persisting [in advising them] were useless.
g Fetuses, infants, boys, adolescents and so on you passed through various stages, until you have become adult men.
h They are the Paradises or Gardens inhabited by the angels, prophets, martyrs and the righteous.
In my book The Universe and the Quran, I have explained fully about the ethereal heavens.
i To give light to those who inhabit these heavens.
j i.e. having a little light and heat like the lamp.
k An aya similar to this one has been explained in the interpretation of the Quran 25: 61, which means:
(
Blessed be [the grace of God] Who has placed in heaven [constructed] mansions, and in [heaven] has let [the sun be as] a lamp, and a moon giving light [to people of Paradise.])
People of Paradise has also been described in His saying – be glorified – in the Quran 76: 13, which means:
(
Reclining in the [Garden] upon couches; they shall neither see therein sun [or heat] nor moon [or piercing coldness.])
I think that you say this aya contradicts the previous aya!
The answer to this question is that in the first aya: He describes it as it is now in the present time while the moon exists and as such does the sun exist.
While in the second aya: He describes it after Doomsday, because the sun will be drawn by the sun so it will stick to it, then the sun together with its satellites will tear up so that neither sun nor moon will remain.
l That is because the human body is formed from earthy substances like the compounds of calcium, sodium, potassium, sulfur, phosphorus, iron and others.
m And you will then be spiritual souls.
n And well-prepared.
o The Arabic word in the aya means: the roads between mountains.
Who needs any prayers if god is almighty he knows what I need
This is the question which I respect.
God Almighty knows very well what I need and what you and all creatures need; but he wants His servants to ask of Him and He then may answer their prayer, to be an argument against or to the asker:
so He will tell him: I answered your prayer and gave you your request, but you did not show gratitude to Me, and you were ungrateful.
Or if the praying one is righteous and shows gratitude, He will reward him.
Moreover, God will see the man ask of Him, or will the man go to other patrons and other gods and idols to ask his needs of them.
http://www.quran-ayat.com/man/3.htm#Begging_from_God
Another point: if God gives to man what he needs without need to man's prayer (although this may happen so frequently), but anyhow, it will look as a natural happening, while if man prays God and God grants him his needs, then it will be a true indication of God's favor.
In addition to that: man will be checked: does he truly believe in God's existence and in His might: so that He hears and answers the prayer, or will man doubt about this or does man deny God's might or does man acknowledge other patrons beside God and believe that such patrons like the idols or saints are also able to give him his request.