What is the ruling on deliberately fabricating a hadith to encourage virtuous deeds?

The Grave Warning Against Lying About the Prophet: Narration, Intent and Critical Duty