The ruling on a bequest of something other than wealth
The bequest mentioned in the Prophet’s ﷺ saying that a Muslim who has something he wishes to make a bequest about has no right to spend even two nights without having it written down with him,, relates to wealth. As for a bequest that relates to advising people toward good, it should be distributed, in the form of leaflets or written in books, both during a person’s lifetime and after his death.
Reference: Ibn Uthaymin: Liqa’ al-Bab al-Maftuh: 13/210