Nmap question

I’m trying to create a nmap string that will get me both the Mac Addresses of active hosts but the open ports of active hosts.

I tried nmap -sn 192.168.1.0/24 -p but -p won’t run because -sn does a scan with no ports.