I have played in multiple campaigns but in no way am I a seasoned Dungeoneer. In a couple of the campaigns we have earned what the DM would call "near death XP": when you fall to or near 0 hp, you earn XP after the session.
The current campaign is with a different DM. There was a mission that brought most of us to 0 hp and we were "bleeding out". After the session, when we gained XP I asked, "Do we get near death XP?" and the DM looked at me like I was crazy.
Is there anything in the rules that mentions the possibility of earning experience from nearly dying, or is it that just one DM's house rule?