when a man cures anything, the curse goes up to heaven and the gates of heaven are locked against it. Then it comes down to the earth and its gates are locked against it. Then it goes right and left, and if it finds no place of entrance it returns to the thing which was cursed, and if it finds no place of entrance it returns to the thing which was cursed, and if it deserves what was said (it enters it), otherwise it returns to the one who uttered it. Abu Dawud said : Marwan b. Muhammad said: He is Rabah b. al-Walid who heard from him (nimran). He (Marwan b. Muhammad) said: Yahya b. Hussain was confused in it.
قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ الْعَبْدَ إِذَا لَعَنَ شَيْئًا صَعِدَتِ اللَّعْنَةُ إِلَى السَّمَاءِ فَتُغْلَقُ أَبْوَابُ السَّمَاءِ دُونَهَا ثُمَّ تَهِبْطُ إِلَى الأَرْضِ فَتُغْلَقُ أَبْوَابُهَا دُونَهَا ثُمَّ تَأْخُذُ يَمِينًا وَشِمَالاً فَإِذَا لَمْ تَجِدْ مَسَاغًا رَجَعَتْ إِلَى الَّذِي لُعِنَ فَإِنْ كَانَ لِذَلِكَ أَهْلاً وَإِلاَّ رَجَعَتْ إِلَى قَائِلِهَا