Several countries include the holder's religion on national identity cards. Some notable examples are:
Country How religion is shown
Malaysia Religion is printed on the ID card (MyKad).
Pakistan Religious affiliation is recorded on national ID cards.
Egypt Religion is printed on national ID cards, with restrictions on recognized categories.
Brunei Religious affiliation is part of identity registration.
Don't know where God is but the Devil is in the details