It was the practice of the Prophet (peace and blessings be upon him):
"People would knock at his (peace and blessings be upon him) door with their fingernails."
Hadith Referenceصحیح الجامع الصغیر / حرف الكاف / 4805
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[الحاكم في الكنى] عن أنس. الصحيحة ٢٠٩٢: خد، حب، البزار، أبو نعيم - أنس. الحاكم في [المعرفة] - المغيرة.