An introduction to Islamic finance