ibn ‘umar reported, “some of the companions of the prophet, sallallaahu ‘alayhi wa sallam, saw the night of al-qadr (decree) in their dreams as one of the last seven nights of ramadhaan. so, the messenger, sallallaahu ‘alayhi wa sallam, said, ‘i see that your dreams all agree upon it being in the last seven nights. hence, whosoever seeks it, let him do so in the last seven nights.’” [al-bukhaari and muslim]
in another narration, the prophet, sallallaahu ‘alayhi wa sallam, said, “look for it among the last ten nights; however, if one of you fails to or is unable to do [that much], let him not miss out on [at least] the remaining seven nights.” [muslim]
he, sallallaahu ‘alayhi wa sallam, also instructed, “seek the eve of al-qadr in the last seven nights.”[muslim]
benefits and rulings [derived from these hadeeths]:
1- this ummah (muslim nation) is protected against falling into error on whatever it unanimously agrees on, in terms of narrations, opinions and visions, as the prophet, sallallaahu ‘alayhi wa sallam, gave significance to the similar dreams of the companions .
2- one should seek the night of al-qadr, in which to pray and worship allaah the almighty, given its great merit and virtue. nonetheless, this is an act of sunnah, not an obligation.
3- this hadeeth proves that visions are of great importance and that it is possible to rely on them regarding tangible matters, provided that they do not contradict the established rules of sharee‘ah (islamic jurisprudence). yet, one should not exaggerate in reliance on dreams, by applying them [to life] inappropriately and letting it cause one to be lazy in worship.
4- a vision may be from allaah the almighty, the product of one’s subconscious or from the devil. when the believers see similar dreams about something, then there is certainly some truth to it. this also applies to their unanimous opinions and narrations, because the individual may lie or commit a mistake, but there can never be a consensus among believers upon what is false.
5- this proves that the opinion of the majority should be adopted, so long as it does not contradict an explicit religious text, ijmaa’ (consensus) or a clear analogy.
6- the dreams of the companions were consistent about the night of al-qadr being in the last seven nights of the month of ramadhaan. the prophet, sallallaahu ‘alayhi wa sallam, also confirmed this during that year. hence, it is most likely to be one of those nights.
7- the night of al-qadr may even be shown to some people in their visions or [through some signs] while they are awake, such as by seeing lights or someone telling them: “this is the eve of al-qadr.” allaah the almighty may also inspire some people to know of when this blessed night is.