The man believed to have carried out the deadly mosque attack in Malmesbury in the Western Cape had prayed with worshippers before the fatal assault.
Two people were stabbed to death and two others were wounded during the attack on Thursday morning.
The attacker was later shot and killed by police during a stand-off.
EWN's Shamiela Fisher has been following the story:
The attacker claimed to be traveling through Malmesbury to Vredenburg and was given shelter at the place of worship.
We're told by relatives that the attacker is not from the area. He came here last night looking for shelter, claiming that he was on his way to Vredenburg and that he was looking for a place to stay overnight.— Shamiela Fisher, EWN reporter
In the early hours of the morning he took out a knife and firstly attacked the Imam. Several people came to the Imam's defense. Two worshipers were killed in the process.— Shamiela Fisher, EWN reporter
He also tried to to attack a police officer and was subsequently shot dead.— Shamiela Fisher, EWN reporter
Ismail Bassa has been named as one of those killed, the 72-year-old will be laid to rest on Thursday.
The motive for the attack remains unclear at this stage. The Hawks have taken over the investigation.
Take a listen to the EWN update: