Deliberately attributing falsehood to the Prophet ﷺ is a grave prohibited act. «مَنْ حَدَّثَ عَنِّي بِحَدِيثٍ يُرَى أَنَّهُ كَذِبٌ فَهُوَ أَحَدُ الْكَاذِبِينَ»
Whoever relates from me a report believed to be false is counted among those who lie.
Accordingly, a known fabrication must not be circulated as an established prophetic teaching. Quoting it to identify and warn against the false attribution serves a different purpose, provided its status is clearly stated.
Fabrication cannot be justified as a way to encourage virtue. When a circulating sermon or message attributes wording to the Prophet ﷺ, that attribution requires credible evidence rather than popularity or apparent spiritual benefit.