This logical fallacy is an argument of the form "A implies B, B is true, therefore A is true".

For example, when it rains, it is wet outside. It is wet outside, thus it is raining.