ספר המצוות לרס"ג, Positive Commandments Positive Commandments · קצח
Sefer Hamitzvot of Rasag 198
דְּבֵקִים בַּמֵּת יתְחַטְּאוּן בַּשְּׁלִישִׁי וּבַשְּׁבִיעִי כִּכְתָבָם.
Dalet Those who cling to the dead must be purified on the third and seventh day, as is written about them.