Does he know? If not I’d not mention it. Tell the people you spoke to tomorrow that you feel like a jerk and shouldn’t have spoken that way.
If he does know and went to sleep upset, I’d make sure he knows immediately when you woke up that you are sorry. Put a post-it note somewhere he will see it when he wakes up!