To swear solemnly on a holy book or sacred text to uphold honesty in court or covenant.
take a solemn oath / swear sacred truthfulness
shika msaafu
"Shahidi alishika msaafu kabla ya kutoa ushahidi wake mahakamani."
Translation: The witness took a solemn oath before giving testimony in court.