In respect of religion what term was set for President and Prime Minister in 1956 constitution?

In respect of religion what term was set for President and Prime Minister in 1956 constitution?
A. He may be a Muslim
B. He must not be Hindu
C. He must not be Christian
D. He must be a Muslim ( this condition applicable only on president. pm may be non-muslim)