Islamic Interpretation of Dreams (Ibn-i Sirin):
(Fastener) In a dream, a nail represents a commander or a governor.
A nail in a dream also represents attainment of one’s goal. Fastening a nail to a piece ofwood in a dream means getting married. Nails in a dream also could represent an army, and they could signify strength and benefits.
Swallowing nails in a dream means swallowing one’s anger. Nails in a dream also represent someone who associates with evil people.