Sheikh Sâmî al-Mâjid
In Islamic jurisprudence, we have five legal rulings: obligatory (wâjib), preferred (mustahabb), permissible (mubâh), disliked (makrûh), and forbidden (harâm).
Dreams are not and cannot be a source for these rulings. This is the consensus of Ahl al-Sunnah wal Jamâ’ah on the matter.
Anyone who declares that something is preferred or obligatory on the basis of a dream is coming with an innovation in our religion and calling people to fiction and misguidance.
The great jurist, Imam al-Nawawî writes: “If it was the 29th night of Sha`bân and people could not see the crescent, then someone saw the Prophet (peace be upon him) in his dream informing him that ‘tonight is the beginning of Ramadân’, no one would be allowed to fast on the basis of that dream, not the one who saw the dream nor anyone else.” [al-Majmû` (6/292)]
Source: Islam Today