Electrical – Do I need to staple cable when installing lighting fixtures

cable-managementelectricallight-fixture

I understand that when doing new installations (not fishing wire) you need to secure the cable with staples or another approved method, but do I have to secure the cable within 12" of light fixtures in my ceilings since it's not an outlet? The light fixtures are those recessed lights that you just insert into a hole in the drywall. They are not secured to anythings besides the drywall.

The ceiling is a basement ceiling so the wiring is going through some joists.

This is for a new installation. The ceiling drywall isn't installed yet.

This is the fixture I am using.
enter image description here

Best Answer

NEC 334.30(B)(1) allows Nonmetallic-sheathed cable to be unsupported when fished though finished buildings or structures and supporting is impracticable.

Answer provided by @Tester101 here as comment.