The type of writing that the example shows is A. Parable.
A parable is a type of narrative that is characterized for being brief and for teaching a moral lesson. It can be written in the form of verse or prose and is very traditional of religious texts such as the Bible. In this example, the moral lesson is clearly shown by the fact that the poor couple is rewarded for the good deed.