Washing powder is a chemical compound designed specifically for cleaning clothes. Nails are made of keratin, a protein that's completely different from the ingredients in washing powder.
It's important to understand that there's no safe or practical way to extract washing powder from any natural source, including nails.
If you're looking for information about washing powder, I recommend searching for information about its chemical composition and manufacturing process.