Left-arm spinner Taijul Islam claimed his second straight five-wicket total but South Africa reached 413-5 at lunch on Day 2 of the final cricket test.