Umm Atiya reported,

One of the daughters of the Prophet ﷺ passed away, so the Prophet ﷺ came out and said, "Wash her three times, five times, or more if you see fit, with water and lote leaves, and put camphor, or a little camphor, in the final wash. When you are finished, let me know."She said, "When we finished, we informed him, and he handed us his waist-wrapper and said, 'Wrap her in this next to her body.'"And from Ayub, from Hafsa, from Umm Atiya رضي الله عنهم, something similar was reported.

Bukhari 1258

Sahih

حدثنا حامد بن عمر حدثنا حماد بن زيد عن أيوب عن محمد

عن أم عطية قالت

توفيت إحدى بنات النبي ﷺ فخرج النبي ﷺ فقال اغسلنها ثلاثا أو خمسا أو أكثر من ذلك إن رأيتن بماء وسدر واجعلن في الآخرة كافورا أو شيئا من كافور فإذا فرغتن فآذنني قالت فلما فرغنا آذناه فألقى إلينا حقوه فقال أشعرنها إياه وعن أيوب عن حفصة عن أم عطية رضي الله عنهما بنحوه

البخاري 1258صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Funerals
Chapter
Placing camphor at the end
Numbering
Darussalam 1258
Bukhari 1258