Hardly had he arrived ...... it started raining.
B
Correct answer
Explanation
'Hardly had' is a grammatical structure that must be followed by 'when' in English. The pattern is 'Hardly had X happened when Y occurred.' This is a fixed idiomatic expression used to show two events happening in quick succession. Before, after, and than don't fit this grammatical pattern.