Make the intention when starting the nafl salat to gift the reward of that salat to whichever of the masumeen (as) you want.
This is a mustahab act and no punishment if you do not do it, unless you made a oath or vow by Allahs name to do it then abandoned it