ضَرَبْتُهُ تَأْدِيبًا
I struck him to teach him discipline.
- ضَرَبْتُ states the action.
- هُ is the maf'ul bihi: the person struck.
- تَأْدِيبًا is the mansub verbal noun that answers why the action occurred.
Therefore تَأْدِيبًا is the maf'ul lahu, not another receiver of the action.